From: Reinhard Meyer Date: Fri, 14 Oct 2011 08:13:58 +0200 Subject: [U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number In-Reply-To: <1318552994-6653-1-git-send-email-sjg@chromium.org> References: <1318552994-6653-1-git-send-email-sjg@chromium.org> Message-ID: <4E97D326.3030009@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, > Several places in U-Boot's board files can make use of a function like this, > so this patch series creates the function, and changes the board files to > use it. > > As suggested by Mike Frysinger. > > > Simon Glass (10): > Add getenv_int() to read an integer from an environment variable Just a question (I cannot dig deep into this): Since getenv_* might be used before relocation (it is for baudrate, am I right?), and I cannot see how getenv_int() would work before relocation. And why do you mention getenv_int but implement getenv_long? Best Regards, Reinhard