Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
U
uboot-imx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
uboot-imx
Commits
9314cee6
Commit
9314cee6
authored
Sep 10, 2008
by
Jean-Christophe PLAGNIOL-VILLARD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename CFG_ENV_IS_IN_NVRAM in CONFIG_ENV_IS_IN_NVRAM
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD
<
plagnioj@jcrosoft.com
>
parent
06f61354
Changes
64
Hide whitespace changes
Inline
Side-by-side
Showing
64 changed files
with
93 additions
and
93 deletions
+93
-93
Makefile
Makefile
+1
-1
README
README
+1
-1
board/LEOX/elpt860/README.LEOX
board/LEOX/elpt860/README.LEOX
+1
-1
board/RPXlite_dw/README
board/RPXlite_dw/README
+1
-1
common/cmd_nvedit.c
common/cmd_nvedit.c
+3
-3
common/env_nvram.c
common/env_nvram.c
+2
-2
cpu/mpc8xx/cpu_init.c
cpu/mpc8xx/cpu_init.c
+1
-1
include/configs/ADCIOP.h
include/configs/ADCIOP.h
+1
-1
include/configs/AP1000.h
include/configs/AP1000.h
+3
-3
include/configs/Alaska8220.h
include/configs/Alaska8220.h
+3
-3
include/configs/AmigaOneG3SE.h
include/configs/AmigaOneG3SE.h
+1
-1
include/configs/BAB7xx.h
include/configs/BAB7xx.h
+1
-1
include/configs/BMW.h
include/configs/BMW.h
+1
-1
include/configs/CPCI405.h
include/configs/CPCI405.h
+1
-1
include/configs/CPCI4052.h
include/configs/CPCI4052.h
+1
-1
include/configs/CPCI405DT.h
include/configs/CPCI405DT.h
+1
-1
include/configs/ELPPC.h
include/configs/ELPPC.h
+1
-1
include/configs/ELPT860.h
include/configs/ELPT860.h
+2
-2
include/configs/ERIC.h
include/configs/ERIC.h
+5
-5
include/configs/EXBITGEN.h
include/configs/EXBITGEN.h
+1
-1
include/configs/IP860.h
include/configs/IP860.h
+4
-4
include/configs/JSE.h
include/configs/JSE.h
+1
-1
include/configs/KAREF.h
include/configs/KAREF.h
+1
-1
include/configs/MBX.h
include/configs/MBX.h
+1
-1
include/configs/MBX860T.h
include/configs/MBX860T.h
+1
-1
include/configs/METROBOX.h
include/configs/METROBOX.h
+1
-1
include/configs/ML2.h
include/configs/ML2.h
+3
-3
include/configs/MOUSSE.h
include/configs/MOUSSE.h
+1
-1
include/configs/MPC8260ADS.h
include/configs/MPC8260ADS.h
+1
-1
include/configs/MPC8266ADS.h
include/configs/MPC8266ADS.h
+1
-1
include/configs/OCRTC.h
include/configs/OCRTC.h
+1
-1
include/configs/ORSG.h
include/configs/ORSG.h
+1
-1
include/configs/PCI405.h
include/configs/PCI405.h
+1
-1
include/configs/QS860T.h
include/configs/QS860T.h
+1
-1
include/configs/RPXClassic.h
include/configs/RPXClassic.h
+1
-1
include/configs/RPXlite_DW.h
include/configs/RPXlite_DW.h
+2
-2
include/configs/RPXsuper.h
include/configs/RPXsuper.h
+1
-1
include/configs/W7OLMC.h
include/configs/W7OLMC.h
+1
-1
include/configs/W7OLMG.h
include/configs/W7OLMG.h
+1
-1
include/configs/Yukon8220.h
include/configs/Yukon8220.h
+3
-3
include/configs/ZPC1900.h
include/configs/ZPC1900.h
+2
-2
include/configs/bubinga.h
include/configs/bubinga.h
+2
-2
include/configs/csb272.h
include/configs/csb272.h
+1
-1
include/configs/csb472.h
include/configs/csb472.h
+1
-1
include/configs/debris.h
include/configs/debris.h
+1
-1
include/configs/ebony.h
include/configs/ebony.h
+3
-3
include/configs/ep8260.h
include/configs/ep8260.h
+1
-1
include/configs/hcu4.h
include/configs/hcu4.h
+1
-1
include/configs/hcu5.h
include/configs/hcu5.h
+1
-1
include/configs/kvme080.h
include/configs/kvme080.h
+1
-1
include/configs/mcu25.h
include/configs/mcu25.h
+1
-1
include/configs/mpc7448hpc2.h
include/configs/mpc7448hpc2.h
+1
-1
include/configs/ocotea.h
include/configs/ocotea.h
+3
-3
include/configs/redwood.h
include/configs/redwood.h
+1
-1
include/configs/sacsng.h
include/configs/sacsng.h
+1
-1
include/configs/sbc8260.h
include/configs/sbc8260.h
+1
-1
include/configs/sorcery.h
include/configs/sorcery.h
+3
-3
include/configs/taihu.h
include/configs/taihu.h
+1
-1
include/configs/v37.h
include/configs/v37.h
+1
-1
include/configs/walnut.h
include/configs/walnut.h
+2
-2
include/configs/yucca.h
include/configs/yucca.h
+1
-1
lib_m68k/board.c
lib_m68k/board.c
+1
-1
lib_mips/board.c
lib_mips/board.c
+1
-1
lib_ppc/board.c
lib_ppc/board.c
+1
-1
No files found.
Makefile
View file @
9314cee6
...
...
@@ -1063,7 +1063,7 @@ RPXlite_DW_config: unconfig
$(XECHO)
"... with LCD display ..."
;
\
}
@
[
-z
"
$(
findstring
_NVRAM,
$@
)
"
]
||
\
{
echo
"#define C
F
G_ENV_IS_IN_NVRAM"
>>
$(obj)
include/config.h
;
\
{
echo
"#define C
ONFI
G_ENV_IS_IN_NVRAM"
>>
$(obj)
include/config.h
;
\
$(XECHO)
"... with ENV in NVRAM ..."
;
\
}
@
$(MKCONFIG)
-a
RPXlite_DW ppc mpc8xx RPXlite_dw
...
...
README
View file @
9314cee6
...
...
@@ -2174,7 +2174,7 @@ source code will make it necessary to adapt <board>/u-boot.lds*
accordingly!
- C
F
G_ENV_IS_IN_NVRAM:
- C
ONFI
G_ENV_IS_IN_NVRAM:
Define this if you have some non-volatile memory device
(NVRAM, battery buffered SRAM) which you want to use for the
...
...
board/LEOX/elpt860/README.LEOX
View file @
9314cee6
...
...
@@ -106,7 +106,7 @@ version - print monitor version
? - alias for 'help'
##################################################
# Environment Variables (C
F
G_ENV_IS_IN_NVRAM)
# Environment Variables (C
ONFI
G_ENV_IS_IN_NVRAM)
##############################
LEOX_elpt860: printenv
...
...
board/RPXlite_dw/README
View file @
9314cee6
...
...
@@ -21,7 +21,7 @@ make distclean
make RPXlite_DW_64_config
make all
2. CFG_ENV_IS_IN_FLASH/C
F
G_ENV_IS_IN_NVRAM
2. CFG_ENV_IS_IN_FLASH/C
ONFI
G_ENV_IS_IN_NVRAM
The default environment parameter is stored in FLASH because it is a common choice for
environment parameter.So I make NVRAM as backup parameter storeage.The reason why I
...
...
common/cmd_nvedit.c
View file @
9314cee6
...
...
@@ -52,7 +52,7 @@
DECLARE_GLOBAL_DATA_PTR
;
#if !defined(C
F
G_ENV_IS_IN_NVRAM) && \
#if !defined(C
ONFI
G_ENV_IS_IN_NVRAM) && \
!defined(CONFIG_ENV_IS_IN_EEPROM) && \
!defined(CFG_ENV_IS_IN_FLASH) && \
!defined(CONFIG_ENV_IS_IN_DATAFLASH) && \
...
...
@@ -540,7 +540,7 @@ int getenv_r (char *name, char *buf, unsigned len)
return
(
-
1
);
}
#if ((defined(C
F
G_ENV_IS_IN_NVRAM) || defined(CONFIG_ENV_IS_IN_EEPROM) \
#if ((defined(C
ONFI
G_ENV_IS_IN_NVRAM) || defined(CONFIG_ENV_IS_IN_EEPROM) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_FLASH)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_NAND)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_ONENAND))) \
...
...
@@ -596,7 +596,7 @@ U_BOOT_CMD(
" - delete environment variable 'name'
\n
"
);
#if ((defined(C
F
G_ENV_IS_IN_NVRAM) || defined(CONFIG_ENV_IS_IN_EEPROM) \
#if ((defined(C
ONFI
G_ENV_IS_IN_NVRAM) || defined(CONFIG_ENV_IS_IN_EEPROM) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_FLASH)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_NAND)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_ONENAND))) \
...
...
common/env_nvram.c
View file @
9314cee6
...
...
@@ -44,7 +44,7 @@
DECLARE_GLOBAL_DATA_PTR
;
#ifdef C
F
G_ENV_IS_IN_NVRAM
/* Environment is in NVRAM */
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
/* Environment is in NVRAM */
#include <command.h>
#include <environment.h>
...
...
@@ -157,4 +157,4 @@ int env_init (void)
return
(
0
);
}
#endif
/* C
F
G_ENV_IS_IN_NVRAM */
#endif
/* C
ONFI
G_ENV_IS_IN_NVRAM */
cpu/mpc8xx/cpu_init.c
View file @
9314cee6
...
...
@@ -245,7 +245,7 @@ void cpu_init_f (volatile immap_t * immr)
rpxclassic_init
();
#endif
#if defined(CONFIG_RPXLITE) && defined(C
F
G_ENV_IS_IN_NVRAM)
#if defined(CONFIG_RPXLITE) && defined(C
ONFI
G_ENV_IS_IN_NVRAM)
rpxlite_init
();
#endif
...
...
include/configs/ADCIOP.h
View file @
9314cee6
...
...
@@ -160,7 +160,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define CFG_NVRAM_BASE_ADDR 0x10000000
/* NVRAM base address */
#define CFG_NVRAM_SIZE (32*1024)
/* NVRAM size */
#define CFG_ENV_SIZE 0x0400
/* Size of Environment vars */
...
...
include/configs/AP1000.h
View file @
9314cee6
...
...
@@ -40,11 +40,11 @@
#define CFG_ENV_IS_IN_FLASH 1
#define CFG_FLASH_USE_BUFFER_WRITE
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#else
#ifdef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#endif
#endif
...
...
@@ -186,7 +186,7 @@
#define CFG_NVRAM_BASE_ADDR 0xf0000000
/* NVRAM base address */
#define CFG_NVRAM_SIZE 0x1ff8
/* NVRAM size */
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_SIZE 0x1000
/* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE)
/* Env */
...
...
include/configs/Alaska8220.h
View file @
9314cee6
...
...
@@ -225,13 +225,13 @@
#define CONFIG_ENV_OVERWRITE 1
#if defined CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CONFIG_ENV_IS_IN_EEPROM
#elif defined C
F
G_ENV_IS_IN_NVRAM
#elif defined C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_IN_EEPROM
#elif defined CONFIG_ENV_IS_IN_EEPROM
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif
...
...
include/configs/AmigaOneG3SE.h
View file @
9314cee6
...
...
@@ -240,7 +240,7 @@
/*
* Environment is stored in NVRAM.
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
#define CFG_ENV_ADDR 0xFD0E0000
/* This should be 0xFD0E0000, but we skip bytes to
* protect softex's settings for now.
* Original 768 bytes where not enough.
...
...
include/configs/BAB7xx.h
View file @
9314cee6
...
...
@@ -243,7 +243,7 @@
* Environment settings
*/
#define CONFIG_ENV_OVERWRITE
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define CFG_NVRAM_SIZE 0x1ff0
/* NVRAM size (8kB), we must protect the clock data (16 bytes) */
#define CFG_ENV_SIZE 0x400
/* Size of Environment vars (1kB) */
/*
...
...
include/configs/BMW.h
View file @
9314cee6
...
...
@@ -289,7 +289,7 @@
* Warining: environment is not EMBEDDED in the U-Boot code.
* It's stored in flash separately.
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
#define CONFIG_ENV_OVERWRITE 1
#define CFG_NVRAM_ACCESS_ROUTINE 1
#define CFG_ENV_ADDR 0x7c004000
/* right at the start of NVRAM */
...
...
include/configs/CPCI405.h
View file @
9314cee6
...
...
@@ -236,7 +236,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define CFG_ENV_SIZE 0x1000
/* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE)
/* Env */
...
...
include/configs/CPCI4052.h
View file @
9314cee6
...
...
@@ -251,7 +251,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define CFG_ENV_SIZE 0x0ff8 /* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-(CFG_ENV_SIZE+8)) /* Env */
...
...
include/configs/CPCI405DT.h
View file @
9314cee6
...
...
@@ -254,7 +254,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define CFG_ENV_SIZE 0x0ff8 /* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-(CFG_ENV_SIZE+8)) /* Env */
...
...
include/configs/ELPPC.h
View file @
9314cee6
...
...
@@ -218,7 +218,7 @@
* Environment settings
*/
#define CONFIG_ENV_OVERWRITE
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define CFG_NVRAM_SIZE 0x800
/* NVRAM size (2kB) */
#define CFG_ENV_SIZE 0x400
/* Size of Environment vars (1kB) */
#define CFG_ENV_ADDR 0x0
...
...
include/configs/ELPT860.h
View file @
9314cee6
...
...
@@ -137,7 +137,7 @@
*/
#define CONFIG_ENV_OVERWRITE 1
/* Allow Overwrite of serial# & ethaddr */
#undef C
F
G_ENV_IS_IN_NVRAM
/* Environment is in NVRAM */
#undef C
ONFI
G_ENV_IS_IN_NVRAM
/* Environment is in NVRAM */
#undef CONFIG_ENV_IS_IN_EEPROM
/* Environment is in I2C EEPROM */
#define CFG_ENV_IS_IN_FLASH 1
/* Environment is in FLASH */
...
...
@@ -225,7 +225,7 @@
#define CFG_NVRAM_SIZE ((128*1024)-8)
/* clock regs resident in the */
/* 8 top NVRAM locations */
#if defined(C
F
G_ENV_IS_IN_NVRAM)
#if defined(C
ONFI
G_ENV_IS_IN_NVRAM)
# define CFG_ENV_ADDR CFG_NVRAM_BASE
/* Base address of NVRAM area */
# define CFG_ENV_SIZE 0x4000
/* Total Size of Environment Sector */
#endif
...
...
include/configs/ERIC.h
View file @
9314cee6
...
...
@@ -45,7 +45,7 @@
#define CFG_ENV_IS_IN_FLASH 1
/* use FLASH for environment vars */
#endif
#if 0
#define C
F
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#endif
#if 0
#define CONFIG_ENV_IS_IN_EEPROM 1 /* use I2C RTC X1240 for environment vars */
...
...
@@ -63,15 +63,15 @@
#define CFG_I2C_RTC_ADDR 0x6F
/* and one for RTC */
#ifdef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CONFIG_ENV_IS_IN_EEPROM
#else
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_IN_EEPROM
#else
#ifdef CONFIG_ENV_IS_IN_EEPROM
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif
#endif
...
...
@@ -318,7 +318,7 @@
#define CFG_NVRAM_BASE_ADDR CFG_NVRAM_REG_BASE_ADDR
/* NVRAM base address */
#define CFG_NVRAM_SIZE 0x7F8
/* NVRAM size 2kByte - 8 Byte for RTC */
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_SIZE 0x7F8
/* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE)
/* Env */
...
...
include/configs/EXBITGEN.h
View file @
9314cee6
...
...
@@ -49,7 +49,7 @@
/* environment is in EEPROM */
#define CONFIG_ENV_IS_IN_EEPROM 1
#undef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#ifdef CONFIG_ENV_IS_IN_EEPROM
#define CFG_I2C_EEPROM_ADDR 0x56
/* 1010110 */
...
...
include/configs/IP860.h
View file @
9314cee6
...
...
@@ -187,15 +187,15 @@
#define CFG_FLASH_WRITE_TOUT 500
/* Timeout for Flash Write (in ms) */
#undef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef DEBUG_I2C
#define CONFIG_ENV_IS_IN_EEPROM
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_ADDR 0x20000000
/* use SRAM */
#define CFG_ENV_SIZE (16<<10)
/* use 16 kB */
#endif
/* C
F
G_ENV_IS_IN_NVRAM */
#endif
/* C
ONFI
G_ENV_IS_IN_NVRAM */
#ifdef CONFIG_ENV_IS_IN_EEPROM
#define CFG_ENV_OFFSET 512
/* Leave 512 bytes free for other data */
...
...
include/configs/JSE.h
View file @
9314cee6
...
...
@@ -77,7 +77,7 @@
#define CONFIG_MISC_INIT_R 1
/* JSE has EEPROM chips that are good for environment. */
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#define CONFIG_ENV_IS_IN_EEPROM 1
#undef CFG_ENV_IS_NOWHERE
...
...
include/configs/KAREF.h
View file @
9314cee6
...
...
@@ -141,7 +141,7 @@
/*-----------------------------------------------------------------------
* Environment
*----------------------------------------------------------------------*/
#define C
F
G_ENV_IS_IN_NVRAM 1
/* Environment uses NVRAM */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* Environment uses NVRAM */
#undef CFG_ENV_IS_IN_FLASH
/* ... not in flash */
#undef CONFIG_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#define CONFIG_ENV_OVERWRITE 1
/* allow env overwrite */
...
...
include/configs/MBX.h
View file @
9314cee6
...
...
@@ -193,7 +193,7 @@
* board: EPPC-Bug from Motorola. To avoid collisions in NVRAM Usage, we
* access the NVRAM at the offset 0x1000.
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
/* turn on NVRAM env feature */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* turn on NVRAM env feature */
#define CFG_ENV_ADDR (CFG_NVRAM_BASE + 0x1000)
#define CFG_ENV_SIZE 0x1000
...
...
include/configs/MBX860T.h
View file @
9314cee6
...
...
@@ -143,7 +143,7 @@
* board: EPPC-Bug from Motorola. To avoid collisions in NVRAM Usage, we
* access the NVRAM at the offset 0x1000.
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
/* turn on NVRAM env feature */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* turn on NVRAM env feature */
#define CFG_ENV_ADDR (CFG_NVRAM_BASE + 0x1000)
#define CFG_ENV_SIZE 0x1000
...
...
include/configs/METROBOX.h
View file @
9314cee6
...
...
@@ -203,7 +203,7 @@
/*-----------------------------------------------------------------------
* Environment
*----------------------------------------------------------------------*/
#define C
F
G_ENV_IS_IN_NVRAM 1
/* Environment uses NVRAM */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* Environment uses NVRAM */
#undef CFG_ENV_IS_IN_FLASH
/* ... not in flash */
#undef CONFIG_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#define CONFIG_ENV_OVERWRITE 1
/* allow env overwrite */
...
...
include/configs/ML2.h
View file @
9314cee6
...
...
@@ -33,11 +33,11 @@
#define CFG_ENV_IS_IN_FLASH 1
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#else
#ifdef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#endif
#endif
...
...
@@ -196,7 +196,7 @@
#define CFG_NVRAM_BASE_ADDR 0xf0000000
/* NVRAM base address */
#define CFG_NVRAM_SIZE 0x1ff8
/* NVRAM size */
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_SIZE 0x1000
/* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE)
/* Env */
...
...
include/configs/MOUSSE.h
View file @
9314cee6
...
...
@@ -302,7 +302,7 @@
#define CFG_ENV_OFFSET 0x8000 /* Offset of the Environment Sector */
#define CFG_ENV_SIZE 0x4000 /* Size of the Environment Sector */
#else
#define C
F
G_ENV_IS_IN_NVRAM 1
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
#define CFG_ENV_ADDR NV_OFF_U_BOOT_ADDR
/* PortX NVM Free addr*/
#define CFG_ENV_OFFSET CFG_ENV_ADDR
#define CFG_ENV_SIZE NV_U_BOOT_ENV_SIZE
/* 2K */
...
...
include/configs/MPC8260ADS.h
View file @
9314cee6
...
...
@@ -384,7 +384,7 @@
# define CFG_ENV_SECT_SIZE 0x40000
# define CFG_ENV_ADDR (CFG_MONITOR_BASE + CFG_ENV_SECT_SIZE)
#else
# define C
F
G_ENV_IS_IN_NVRAM 1
# define C
ONFI
G_ENV_IS_IN_NVRAM 1
# define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
# define CFG_ENV_SIZE 0x200
#endif
/* CFG_RAMBOOT */
...
...
include/configs/MPC8266ADS.h
View file @
9314cee6
...
...
@@ -431,7 +431,7 @@
# define CFG_ENV_ADDR (CFG_MONITOR_BASE + 0x40000)
# define CFG_ENV_SECT_SIZE 0x40000
#else
# define C
F
G_ENV_IS_IN_NVRAM 1
# define C
ONFI
G_ENV_IS_IN_NVRAM 1
# define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
# define CFG_ENV_SIZE 0x200
#endif
/* CFG_RAMBOOT */
...
...
include/configs/OCRTC.h
View file @
9314cee6
...
...
@@ -189,7 +189,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define CFG_NVRAM_BASE_ADDR 0xf0200000 /* NVRAM base address */
#define CFG_NVRAM_SIZE (32*1024) /* NVRAM size */
#define CFG_ENV_SIZE 0x1000 /* Size of Environment vars */
...
...
include/configs/ORSG.h
View file @
9314cee6
...
...
@@ -187,7 +187,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define CFG_NVRAM_BASE_ADDR 0xf0200000 /* NVRAM base address */
#define CFG_NVRAM_SIZE (32*1024) /* NVRAM size */
#define CFG_ENV_SIZE 0x1000 /* Size of Environment vars */
...
...
include/configs/PCI405.h
View file @
9314cee6
...
...
@@ -218,7 +218,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define CFG_ENV_SIZE 0x0ff8 /* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-(CFG_ENV_SIZE+8)) /* Env */
...
...
include/configs/QS860T.h
View file @
9314cee6
...
...
@@ -132,7 +132,7 @@ CONFIG_SPI
/*
* Environment variable storage is in NVRAM
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
#define CFG_ENV_SIZE 0x00001000
/* We use only the last 4K for PPCBoot */
#define CFG_ENV_ADDR 0xD100E000
...
...
include/configs/RPXClassic.h
View file @
9314cee6
...
...
@@ -224,7 +224,7 @@
#define CFG_ENV_SECT_SIZE 0x8000
#define CFG_ENV_SIZE 0x8000 /* Total Size of Environment Sector */
#else
#define C
F
G_ENV_IS_IN_NVRAM 1
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
#define CFG_ENV_ADDR 0xfa000100
#define CFG_ENV_SIZE 0x1000
#endif
...
...
include/configs/RPXlite_DW.h
View file @
9314cee6
...
...
@@ -229,14 +229,14 @@
#define CFG_FLASH_ERASE_TOUT 120000
/* Timeout for Flash Erase (in ms) */
#define CFG_FLASH_WRITE_TOUT 500
/* Timeout for Flash Write (in ms) */
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_ADDR 0xFA000100
#define CFG_ENV_SIZE 0x1000
#else
#define CFG_ENV_IS_IN_FLASH
#define CFG_ENV_OFFSET 0x30000
/* Offset of Environment Sector */
#define CFG_ENV_SIZE 0x8000
/* Total Size of Environment Sector */
#endif
/* C
F
G_ENV_IS_IN_NVRAM */
#endif
/* C
ONFI
G_ENV_IS_IN_NVRAM */
#define CFG_RESET_ADDRESS ((ulong)((((immap_t *)CFG_IMMR)->im_clkrst.res)))
...
...
include/configs/RPXsuper.h
View file @
9314cee6
...
...
@@ -311,7 +311,7 @@
# define CFG_ENV_SECT_SIZE 0x10000
/* see README - env sect real size */
# endif
/* CFG_ENV_IN_OWN_SECT */
#else
# define C
F
G_ENV_IS_IN_NVRAM 1
# define C
ONFI
G_ENV_IS_IN_NVRAM 1
# define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
# define CFG_ENV_SIZE 0x200
#endif
/* CFG_RAMBOOT */
...
...
include/configs/W7OLMC.h
View file @
9314cee6
...
...
@@ -249,7 +249,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for env vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for env vars */
#define CFG_NVRAM_BASE_ADDR 0xfc000000
/* NVRAM base address */
#define CFG_NVRAM_SIZE (32*1024)
/* NVRAM size */
#define CFG_ENV_SIZE 0x1000
/* Size of Environment vars */
...
...
include/configs/W7OLMG.h
View file @
9314cee6
...
...
@@ -256,7 +256,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for env vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for env vars */
#define CFG_NVRAM_BASE_ADDR 0xfc000000
/* NVRAM base address */
#define CFG_NVRAM_SIZE (32*1024)
/* NVRAM size */
#define CFG_ENV_SIZE 0x1000
/* Size of Environment vars */
...
...
include/configs/Yukon8220.h
View file @
9314cee6
...
...
@@ -225,13 +225,13 @@
#define CONFIG_ENV_OVERWRITE 1
#if defined CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CONFIG_ENV_IS_IN_EEPROM
#elif defined C
F
G_ENV_IS_IN_NVRAM
#elif defined C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_IN_EEPROM
#elif defined CONFIG_ENV_IS_IN_EEPROM
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif
...
...
include/configs/ZPC1900.h
View file @
9314cee6
...
...
@@ -220,8 +220,8 @@
#define CFG_MALLOC_LEN (4096 << 10)
/* Reserve 4 MB for malloc() */
#define CFG_BOOTMAPSZ (8 << 20)
/* Initial Memory map for Linux */
#if !defined(CFG_ENV_IS_IN_FLASH) && !defined(C
F
G_ENV_IS_IN_NVRAM)
#define C
F
G_ENV_IS_IN_NVRAM 1
#if !defined(CFG_ENV_IS_IN_FLASH) && !defined(C
ONFI
G_ENV_IS_IN_NVRAM)
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
#endif
#ifdef CFG_ENV_IS_IN_FLASH
...
...
include/configs/bubinga.h
View file @
9314cee6
...
...
@@ -83,7 +83,7 @@
#if 1
#define CFG_ENV_IS_IN_FLASH 1
/* use FLASH for environment vars */
#else
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#endif
/*
...
...
@@ -210,7 +210,7 @@
#define CFG_NVRAM_BASE_ADDR 0xf0000000
/* NVRAM base address */
#define CFG_NVRAM_SIZE 0x1ff8
/* NVRAM size */
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_SIZE 0x0ff8
/* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE)
/* Env */
...
...
include/configs/csb272.h
View file @
9314cee6
...
...
@@ -231,7 +231,7 @@
*
*/
#define CFG_ENV_IS_IN_FLASH 1
/* environment is in FLASH */
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CONFIG_ENV_IS_IN_EEPROM
/*
...
...
include/configs/csb472.h
View file @
9314cee6
...
...
@@ -230,7 +230,7 @@
*
*/
#define CFG_ENV_IS_IN_FLASH 1
/* environment is in FLASH */
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CONFIG_ENV_IS_IN_EEPROM
/*
...
...
include/configs/debris.h
View file @
9314cee6
...
...
@@ -251,7 +251,7 @@
#define MTDPARTS_DEFAULT "mtdparts=debris-0:-(jffs2)"
*/
#define C
F
G_ENV_IS_IN_NVRAM 1
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
#define CONFIG_ENV_OVERWRITE 1
#define CFG_NVRAM_ACCESS_ROUTINE 1
#define CFG_ENV_ADDR 0xFF000000
/* right at the start of NVRAM */
...
...
include/configs/ebony.h
View file @
9314cee6
...
...
@@ -51,7 +51,7 @@
#if 1
#define CFG_ENV_IS_IN_FLASH 1
/* use FLASH for environment vars */
#else
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#endif
/*-----------------------------------------------------------------------
...
...
@@ -97,11 +97,11 @@
#define CFG_NVRAM_SIZE (0x2000 - 8)
/* NVRAM size(8k)- RTC regs */
#define CONFIG_RTC_DS174x 1
/* DS1743 RTC */
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_SIZE 0x1000
/* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE)
#endif
/* C
F
G_ENV_IS_IN_NVRAM */
#endif
/* C
ONFI
G_ENV_IS_IN_NVRAM */
/*-----------------------------------------------------------------------
* FLASH related
...
...
include/configs/ep8260.h
View file @
9314cee6
...
...
@@ -485,7 +485,7 @@
# define CFG_ENV_SECT_SIZE 0x10000
/* see README - env sect real size */
# endif
/* CFG_ENV_IN_OWN_SECT */
#else
# define C
F
G_ENV_IS_IN_NVRAM 1
# define C
ONFI
G_ENV_IS_IN_NVRAM 1
# define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
# define CFG_ENV_SIZE 0x200
#endif
/* CFG_RAMBOOT */
...
...
include/configs/hcu4.h
View file @
9314cee6
...
...
@@ -121,7 +121,7 @@
* Environment
*----------------------------------------------------------------------*/
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_NOWHERE
...
...
include/configs/hcu5.h
View file @
9314cee6
...
...
@@ -106,7 +106,7 @@
* Environment
*----------------------------------------------------------------------*/
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_IN_EEPROM
#undef CFG_ENV_IS_NOWHERE
...
...
include/configs/kvme080.h
View file @
9314cee6
...
...
@@ -157,7 +157,7 @@
#define CFG_JFFS2_FIRST_BANK 0
#define CFG_JFFS2_NUM_BANKS 1
#define C
F
G_ENV_IS_IN_NVRAM 1
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
#define CONFIG_ENV_OVERWRITE 1
#define CFG_NVRAM_ACCESS_ROUTINE
#define CFG_ENV_ADDR CFG_NVRAM_BASE_ADDR
...
...
include/configs/mcu25.h
View file @
9314cee6
...
...
@@ -121,7 +121,7 @@
* Environment
*----------------------------------------------------------------------*/
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_NOWHERE
...
...
include/configs/mpc7448hpc2.h
View file @
9314cee6
...
...
@@ -381,7 +381,7 @@
#define PHYS_FLASH_SIZE 0x01000000
#define CFG_MAX_FLASH_SECT (128)
#define C
F
G_ENV_IS_IN_NVRAM
#define C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_ADDR 0xFC000000
#define CFG_ENV_OFFSET 0x00000000
/* Offset of Environment Sector */
...
...
include/configs/ocotea.h
View file @
9314cee6
...
...
@@ -95,7 +95,7 @@
#if 1
#define CFG_ENV_IS_IN_FLASH 1
/* use FLASH for environment vars */
#else
#define C
F
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#define C
ONFI
G_ENV_IS_IN_NVRAM 1
/* use NVRAM for environment vars */
#endif
...
...
@@ -112,11 +112,11 @@
#define CFG_NVRAM_SIZE (0x2000 - 8)
/* NVRAM size(8k)- RTC regs */
#define CONFIG_RTC_DS174x 1
/* DS1743 RTC */
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_SIZE 0x1000
/* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE)
#endif
/* C
F
G_ENV_IS_IN_NVRAM */
#endif
/* C
ONFI
G_ENV_IS_IN_NVRAM */
/*-----------------------------------------------------------------------
* FLASH related
...
...
include/configs/redwood.h
View file @
9314cee6
...
...
@@ -119,7 +119,7 @@
/*-----------------------------------------------------------------------
* Environment
*----------------------------------------------------------------------*/
#undef C
F
G_ENV_IS_IN_NVRAM
/* ... not in NVRAM */
#undef C
ONFI
G_ENV_IS_IN_NVRAM
/* ... not in NVRAM */
#define CFG_ENV_IS_IN_FLASH 1
/* Environment uses flash */
#undef CONFIG_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
...
...
include/configs/sacsng.h
View file @
9314cee6
...
...
@@ -719,7 +719,7 @@
# endif
/* CFG_ENV_IN_OWN_SECT */
#else
# define C
F
G_ENV_IS_IN_NVRAM 1
# define C
ONFI
G_ENV_IS_IN_NVRAM 1
# define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
# define CFG_ENV_SIZE 0x200
#endif
/* CFG_RAMBOOT */
...
...
include/configs/sbc8260.h
View file @
9314cee6
...
...
@@ -615,7 +615,7 @@
# endif
/* CFG_ENV_IN_OWN_SECT */
#else
# define C
F
G_ENV_IS_IN_NVRAM 1
# define C
ONFI
G_ENV_IS_IN_NVRAM 1
# define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
# define CFG_ENV_SIZE 0x200
#endif
/* CFG_RAMBOOT */
...
...
include/configs/sorcery.h
View file @
9314cee6
...
...
@@ -207,13 +207,13 @@
#define CONFIG_ENV_OVERWRITE 1
#if defined CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CONFIG_ENV_IS_IN_EEPROM
#elif defined C
F
G_ENV_IS_IN_NVRAM
#elif defined C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_IN_EEPROM
#elif defined CONFIG_ENV_IS_IN_EEPROM
#undef C
F
G_ENV_IS_IN_NVRAM
#undef C
ONFI
G_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif
...
...
include/configs/taihu.h
View file @
9314cee6
...
...
@@ -221,7 +221,7 @@ unsigned char spi_read(void);
#define CFG_NVRAM_BASE_ADDR 0xf0000000
/* NVRAM base address */
#define CFG_NVRAM_SIZE 0x1ff8
/* NVRAM size */
#ifdef C
F
G_ENV_IS_IN_NVRAM
#ifdef C
ONFI
G_ENV_IS_IN_NVRAM
#define CFG_ENV_SIZE 0x0ff8
/* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE)
/* Env*/
...
...
include/configs/v37.h
View file @
9314cee6
...
...
@@ -195,7 +195,7 @@