uboot/arch
Kumar Gala dd50af2515 powerpc/8xxx: Add hwconfig APIs to address early parsing used by DDR init
There are several users of the hwconfig APIs (8xxx DDR) before we have
the environment properly setup.  This causes issues because of the
numerous ways the environment might be accessed because of the
non-volatile memory it might be stored in.  Additionally the access
might be so early that memory isn't even properly setup for us.

Towards resolving these issues we provide versions of all the hwconfig
APIs that can be passed in a buffer to parse and leave it to the caller
to determine how to allocate and populate the buffer.

We use the _f naming convention for these new APIs even though they are
perfectly useable after relocation and the environment being ready.

We also now warn if the non-f APIs are called before the environment is
ready to allow users to address the issues.

Finally, we convert the 8xxx DDR code to utilize the new APIs to
hopefully address the issue once and for all.  We have the 8xxx DDR code
create a buffer on the stack and populate it via getenv_f().

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Wolfgang Denk <wd@denx.de>
2011-01-19 22:58:23 -06:00
..
arm miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
avr32 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
blackfin Move DECLARE_GLOBAL_DATA_PTR to file scope 2010-12-21 11:33:36 +01:00
i386 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m68k Merge branch 'next' of ../next 2010-12-22 21:16:17 +01:00
microblaze microblaze: Fix bd_info pointer 2011-01-10 08:52:32 +01:00
mips Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
nios2 Remove redundant config.mk files 2010-12-09 10:25:56 +01:00
powerpc powerpc/8xxx: Add hwconfig APIs to address early parsing used by DDR init 2011-01-19 22:58:23 -06:00
sh sh: Add support zimageboot command for Renesas SH 2011-01-11 21:03:26 +09:00
sparc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
.gitignore