mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
rename CFG_ENV_IS_IN_ONENAND in CONFIG_ENV_IS_IN_ONENAND
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
957a0e6957
commit
9656138ff1
3 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||||
!defined(CFG_ENV_IS_IN_FLASH) && \
|
!defined(CFG_ENV_IS_IN_FLASH) && \
|
||||||
!defined(CONFIG_ENV_IS_IN_DATAFLASH) && \
|
!defined(CONFIG_ENV_IS_IN_DATAFLASH) && \
|
||||||
!defined(CONFIG_ENV_IS_IN_NAND) && \
|
!defined(CONFIG_ENV_IS_IN_NAND) && \
|
||||||
!defined(CFG_ENV_IS_IN_ONENAND) && \
|
!defined(CONFIG_ENV_IS_IN_ONENAND) && \
|
||||||
!defined(CFG_ENV_IS_IN_SPI_FLASH) && \
|
!defined(CFG_ENV_IS_IN_SPI_FLASH) && \
|
||||||
!defined(CFG_ENV_IS_NOWHERE)
|
!defined(CFG_ENV_IS_NOWHERE)
|
||||||
# error Define one of CFG_ENV_IS_IN_{NVRAM|EEPROM|FLASH|DATAFLASH|ONENAND|SPI_FLASH|NOWHERE}
|
# error Define one of CFG_ENV_IS_IN_{NVRAM|EEPROM|FLASH|DATAFLASH|ONENAND|SPI_FLASH|NOWHERE}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
|
||||||
#if defined(CFG_ENV_IS_IN_ONENAND) /* Environment is in OneNAND */
|
#if defined(CONFIG_ENV_IS_IN_ONENAND) /* Environment is in OneNAND */
|
||||||
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <environment.h>
|
#include <environment.h>
|
||||||
|
@ -127,4 +127,4 @@ int env_init(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CFG_ENV_IS_IN_ONENAND */
|
#endif /* CONFIG_ENV_IS_IN_ONENAND */
|
||||||
|
|
|
@ -225,7 +225,7 @@
|
||||||
|
|
||||||
/* OneNAND boot, OneNAND has CS0, NOR boot ONeNAND has CS2 */
|
/* OneNAND boot, OneNAND has CS0, NOR boot ONeNAND has CS2 */
|
||||||
#define CFG_ONENAND_BASE 0x00000000
|
#define CFG_ONENAND_BASE 0x00000000
|
||||||
#define CFG_ENV_IS_IN_ONENAND 1
|
#define CONFIG_ENV_IS_IN_ONENAND 1
|
||||||
#define CFG_ENV_ADDR 0x00020000
|
#define CFG_ENV_ADDR 0x00020000
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue