From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number
Date: Fri, 14 Oct 2011 17:33:37 -0400 [thread overview]
Message-ID: <201110141733.39214.vapier@gentoo.org> (raw)
In-Reply-To: <20111014192759.AF0EA14094B2@gemini.denx.de>
On Friday 14 October 2011 15:27:59 Wolfgang Denk wrote:
> Simon Glass wrote:
> > > and I cannot see how getenv_int() would work before relocation.
> >
> > From what I can tell the existing getenv() function deals with this
> > automatically by looking at the global flags.
>
> This is intended just for emergency cases to fix a number of places
> where code is broken, and maintainers don't bother to fix their code.
>
> It is NOT recommended to use this in general.
>
> Please do NOT replace the use of getenv_f() with (direct or indirect)
> calls to getenv().
should we have getenv_ulong() and getenv_ulong_r() then ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111014/6a238260/attachment.pgp
next prev parent reply other threads:[~2011-10-14 21:33 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 0:43 [U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number Simon Glass
2011-10-14 0:43 ` [U-Boot] [PATCH 01/10] Add getenv_int() to read an integer from an environment variable Simon Glass
2011-10-14 1:53 ` Mike Frysinger
2011-10-14 16:47 ` Simon Glass
2011-10-14 17:09 ` Mike Frysinger
2011-10-14 17:42 ` Simon Glass
2011-10-14 18:06 ` Mike Frysinger
2011-10-14 18:15 ` Simon Glass
2011-10-14 19:29 ` Wolfgang Denk
2011-10-14 0:43 ` [U-Boot] [PATCH 02/10] arm: Use getenv_ulong() in place of getenv(), strtoul Simon Glass
2011-10-23 20:50 ` Wolfgang Denk
2011-10-23 21:49 ` Wolfgang Denk
2011-10-24 0:19 ` Simon Glass
2011-10-23 21:51 ` [U-Boot] [PATCH] arch/arm/lib/board.c: fix build error Wolfgang Denk
2011-10-24 0:29 ` Simon Glass
2011-10-24 7:00 ` Heiko Schocher
2011-10-14 0:43 ` [U-Boot] [PATCH 03/10] avr32: Use getenv_ulong() in place of getenv(), strtoul Simon Glass
2011-10-23 20:50 ` Wolfgang Denk
2011-10-14 0:43 ` [U-Boot] [PATCH 04/10] blackfin: " Simon Glass
2011-10-14 1:54 ` Mike Frysinger
2011-10-23 20:50 ` Wolfgang Denk
2011-10-14 0:43 ` [U-Boot] [PATCH 05/10] m68k: " Simon Glass
2011-10-23 20:51 ` Wolfgang Denk
2011-10-14 0:43 ` [U-Boot] [PATCH 06/10] microblaze: " Simon Glass
2011-10-23 20:52 ` Wolfgang Denk
2011-10-14 0:43 ` [U-Boot] [PATCH 07/10] mips: " Simon Glass
2011-10-23 20:52 ` Wolfgang Denk
2011-10-14 0:43 ` [U-Boot] [PATCH 08/10] powerpc: " Simon Glass
2011-10-14 6:04 ` Stefan Roese
2011-10-23 20:53 ` Wolfgang Denk
2011-10-23 21:58 ` [U-Boot] [PATCH] arch/powerpc/lib/board.c: fix build warning Wolfgang Denk
2011-10-24 3:49 ` Simon Glass
2011-10-24 6:53 ` Heiko Schocher
2011-11-03 19:09 ` Wolfgang Denk
2011-11-04 6:44 ` Kumar Gala
2011-11-04 6:47 ` Kumar Gala
2011-11-04 15:41 ` Kim Phillips
2011-11-04 21:13 ` Mike Frysinger
2011-11-04 21:34 ` [U-Boot] [PATCH] powerpc: Revert "arch/powerpc/lib/board.c: fix build warning" Kim Phillips
2011-11-05 9:33 ` Wolfgang Denk
2011-11-06 18:06 ` Mike Frysinger
2011-11-06 19:49 ` Wolfgang Denk
2011-10-14 0:43 ` [U-Boot] [PATCH 09/10] sparc: Use getenv_ulong() in place of getenv(), strtoul Simon Glass
2011-10-23 20:53 ` Wolfgang Denk
2011-10-14 0:43 ` [U-Boot] [PATCH 10/10] x86: " Simon Glass
2011-10-23 20:53 ` Wolfgang Denk
2011-10-14 6:13 ` [U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number Reinhard Meyer
2011-10-14 14:31 ` Simon Glass
2011-10-14 17:11 ` Mike Frysinger
2011-10-14 19:30 ` Wolfgang Denk
2011-10-14 21:05 ` Simon Glass
2011-10-14 19:27 ` Wolfgang Denk
2011-10-14 21:33 ` Mike Frysinger [this message]
2011-10-14 23:28 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201110141733.39214.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox