diff options
Diffstat (limited to 'include/configs/canyonlands.h')
| -rw-r--r-- | include/configs/canyonlands.h | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/include/configs/canyonlands.h b/include/configs/canyonlands.h index 9ec49c10c..2f162e1f1 100644 --- a/include/configs/canyonlands.h +++ b/include/configs/canyonlands.h @@ -117,7 +117,7 @@  #else  #define	CONFIG_ENV_IS_IN_NAND	1	/* use NAND for environment vars  */  #define CFG_NAND_CS		0	/* NAND chip connected to CSx */ -#define CFG_ENV_IS_EMBEDDED	1	/* use embedded environment */ +#define CONFIG_ENV_IS_EMBEDDED	1	/* use embedded environment */  #endif  /* @@ -179,9 +179,9 @@   * For NAND booting the environment is embedded in the U-Boot image. Please take   * look at the file board/amcc/canyonlands/u-boot-nand.lds for details.   */ -#define CFG_ENV_SIZE		CFG_NAND_BLOCK_SIZE -#define CFG_ENV_OFFSET		(CFG_NAND_U_BOOT_OFFS + CFG_ENV_SIZE) -#define CFG_ENV_OFFSET_REDUND	(CFG_ENV_OFFSET + CFG_ENV_SIZE) +#define CONFIG_ENV_SIZE		CFG_NAND_BLOCK_SIZE +#define CONFIG_ENV_OFFSET		(CFG_NAND_U_BOOT_OFFS + CONFIG_ENV_SIZE) +#define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)  #endif  /*----------------------------------------------------------------------- @@ -202,13 +202,13 @@  #define CFG_FLASH_EMPTY_INFO		/* print 'E' for empty sector on flinfo */  #ifdef CONFIG_ENV_IS_IN_FLASH -#define CFG_ENV_SECT_SIZE	0x20000		/* size of one complete sector	*/ -#define CFG_ENV_ADDR		(CFG_MONITOR_BASE - CFG_ENV_SECT_SIZE) -#define	CFG_ENV_SIZE		0x4000	/* Total Size of Environment Sector	*/ +#define CONFIG_ENV_SECT_SIZE	0x20000		/* size of one complete sector	*/ +#define CONFIG_ENV_ADDR		(CFG_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) +#define	CONFIG_ENV_SIZE		0x4000	/* Total Size of Environment Sector	*/  /* Address and size of Redundant Environment Sector	*/ -#define CFG_ENV_ADDR_REDUND	(CFG_ENV_ADDR - CFG_ENV_SECT_SIZE) -#define CFG_ENV_SIZE_REDUND	(CFG_ENV_SIZE) +#define CONFIG_ENV_ADDR_REDUND	(CONFIG_ENV_ADDR - CONFIG_ENV_SECT_SIZE) +#define CONFIG_ENV_SIZE_REDUND	(CONFIG_ENV_SIZE)  #endif /* CONFIG_ENV_IS_IN_FLASH */  /*----------------------------------------------------------------------- |