u-boot/drivers/mtd
Wolfgang Denk cdb749778a Rename getenv_r() into getenv_f()
While running from flash, i. e. before relocation, we have only a
limited C runtime environment without writable data segment. In this
phase, some configurations (for example with environment in EEPROM)
must not use the normal getenv(), but a special function.  This
function had been called getenv_r(), with the idea that the "_r"
suffix would mean the same as in the _r_eentrant versions of some of
the C library functions (for example getdate vs. getdate_r, getgrent
vs. getgrent_r, etc.).

Unfortunately this was a misleading name, as in U-Boot the "_r"
generally means "running from RAM", i. e. _after_ relocation.

To avoid confusion, rename into getenv_f() [as "running from flash"]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
2010-08-04 00:45:36 +02:00
..
nand 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
onenand Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
spi sf: move useful messages from debug to printf 2010-06-30 23:47:08 -04:00
ubi UBI: initialise update marker 2010-06-23 00:00:05 +02:00
at45.c drivers/mtd: Move conditional compilation to Makefile 2008-08-13 01:40:42 +02:00
cfi_flash.c Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
cfi_mtd.c CFI: fix eraseregions numblocks 2010-02-02 08:22:00 +01:00
dataflash.c mtd/dataflash.c: fix a problem with the last partition 2008-12-02 21:53:24 +01:00
jedec_flash.c Support up to 7 banks for ids as specified in JEDEC JEP106Z 2009-08-26 08:58:27 +02:00
Makefile mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00
mtdconcat.c mtd: Add MTD concat support to concatenate multiple MTD NOR devices 2009-06-12 20:45:47 +02:00
mtdcore.c mtd: Remove a printf() from add_mtd_device(). 2008-11-24 11:29:53 +01:00
mtdpart.c mtd: Update MTD infrastructure to support 64bit device size 2009-06-12 20:45:47 +02:00
mw_eeprom.c Update i386 code (sc520_cdp) 2008-09-09 11:48:53 +02:00
spr_smi.c mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00