public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/10] Add getenv_ulong to return an environment var as a number
@ 2011-10-14  0:43 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
                   ` (10 more replies)
  0 siblings, 11 replies; 54+ messages in thread
From: Simon Glass @ 2011-10-14  0:43 UTC (permalink / raw)
  To: u-boot

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 <vapier@gentoo.org>.


Simon Glass (10):
  Add getenv_int() to read an integer from an environment variable
  arm: Use getenv_ulong() in place of getenv(), strtoul
  avr32: Use getenv_ulong() in place of getenv(), strtoul
  blackfin: Use getenv_ulong() in place of getenv(), strtoul
  m68k: Use getenv_ulong() in place of getenv(), strtoul
  microblaze: Use getenv_ulong() in place of getenv(), strtoul
  mips: Use getenv_ulong() in place of getenv(), strtoul
  powerpc: Use getenv_ulong() in place of getenv(), strtoul
  sparc: Use getenv_ulong() in place of getenv(), strtoul
  x86: Use getenv_ulong() in place of getenv(), strtoul

 arch/arm/lib/board.c        |   36 +++++++++++-------------------------
 arch/avr32/lib/board.c      |   16 +++-------------
 arch/blackfin/lib/board.c   |    9 ++-------
 arch/m68k/lib/board.c       |   33 ++++++++-------------------------
 arch/microblaze/lib/board.c |    6 ++----
 arch/mips/lib/board.c       |   14 +++-----------
 arch/powerpc/lib/board.c    |   33 ++++++++-------------------------
 arch/sparc/lib/board.c      |   13 +++----------
 arch/x86/lib/board.c        |   14 +++-----------
 common/cmd_nvedit.c         |    7 +++++++
 include/common.h            |   12 ++++++++++++
 11 files changed, 62 insertions(+), 131 deletions(-)

-- 
1.7.3.1

^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2011-11-06 19:49 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-10-14 23:28         ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox