u-boot/arch/powerpc/include/asm
Wolfgang Denk 91a76751a0 Make getenv() work before relocation.
So far, getenv() would work before relocation is most cases, even
though it was not intended to be used that way.  When switching to a
hash table based implementation, this would break a number of boards.

For convenience, we make getenv() check if it's running before
relocation and, if so, use getenv_f() internally.

Note that this is limited to simple cases, as we use a small static
buffer (32 bytes) in the global data for this purpose.

For this reason, it is also not a good idea to convert all current
uses of getenv_f() into getenv() - some of the existing use cases need
to be able to deal with longer variable values, so getenv_f() is still
needed and recommended for use before relocation.

Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-09-19 19:29:48 +02:00
..
4xx_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
4xx_pcie.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
5xx_immap.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
8xx_immap.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
atomic.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
bitops.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
byteorder.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cache.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
config.h ide: add configuration 2010-08-08 05:17:05 +05:30
cpm_85xx.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpm_8260.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
e300.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
errno.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_ddr_dimm_params.h powerpc/8xxx: Enable DDR3 RDIMM support 2010-07-26 13:16:10 -05:00
fsl_ddr_sdram.h powerpc/8xxx: Enabled address hashing for 85xx 2010-07-26 13:16:09 -05:00
fsl_dma.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_fman.h powerpc/fsl_fman: Add initial fman immap structures 2010-07-26 08:07:47 -05:00
fsl_i2c.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_law.h powerpc/85xx: Add additional p4080 platform related defines/structs 2010-07-26 08:07:47 -05:00
fsl_lbc.h powerpc 83xx/85xx: Merge lbc upmconfig code 2010-07-16 10:55:09 -05:00
fsl_liodn.h powerpc/85xx: Rename Security Engine Job Queue to Job Ring to match docs 2010-08-19 02:06:13 -05:00
fsl_mpc83xx_serdes.h ppc: Split MPC83xx SERDES code from MPC85xx/MPC86xx/QorIQ 2010-04-26 22:37:57 -05:00
fsl_pci.h powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
fsl_portals.h powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -05:00
fsl_serdes.h powerpc/p4080: Add support for initializing SERDES 2010-07-26 13:07:57 -05:00
global_data.h Make getenv() work before relocation. 2010-09-19 19:29:48 +02:00
gpio.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
immap_83xx.h 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
immap_85xx.h powerpc/85xx: Rename Security Engine Job Queue to Job Ring to match docs 2010-08-19 02:06:13 -05:00
immap_86xx.h powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
immap_512x.h mpc5121: add support for PDM360NG board 2010-04-24 22:56:37 +02:00
immap_8220.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
immap_8260.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
immap_qe.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
interrupt.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
io.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iopin_8xx.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iopin_85xx.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iopin_8260.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
m8260_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mc146818rtc.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mmu.h mpc85xx: Add print_tlbcam() function 2010-07-16 10:55:09 -05:00
mp.h powerpc/8xxx: Add is_core_disabled to remove disabled cores from dtb 2010-07-16 10:55:08 -05:00
mpc8xxx_spi.h mpc8308: support for Freescale MPC8308 cpu 2010-07-09 15:00:54 -05:00
mpc512x.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mpc8349_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pci_io.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pnp.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
posix_types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppc4xx-ebc.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppc4xx-isram.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppc4xx-sdram.h ppc4xx: DDR/ECC: Use correct macros to clear error status 2010-07-23 09:54:28 +02:00
ppc4xx-uic.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppc4xx_config.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
processor.h powerpc/p4080: Add workaround for erratum CPU22 2010-07-26 13:07:57 -05:00
ptrace.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
residual.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
sigcontext.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
signal.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
status_led.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
string.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
u-boot.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
unaligned.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
xilinx_irq.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00