mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-02 17:13:28 +08:00
configs: at91: Adjust CONFIG_ENV_OFFSET to match sama5 address
In order to have a single ENV_OFFSET to manage, use the same as the sama5 one. This address matches our NAND flash map available at: http://www.at91.com/linux4sam/bin/view/Linux4SAM/Sama5d3XplainedMainPage#NAND_Flash_demo_Memory_map Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com> [eugen.hristev@microchip.com: rework on latest version of u-boot] Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
parent
e32f240630
commit
7b8b19fbdc
@ -138,7 +138,7 @@
|
||||
#elif defined(CONFIG_SYS_USE_NANDFLASH)
|
||||
|
||||
/* bootstrap + u-boot + env + linux in nandflash */
|
||||
#define CONFIG_ENV_OFFSET 0x120000
|
||||
#define CONFIG_ENV_OFFSET 0x140000
|
||||
#define CONFIG_ENV_OFFSET_REDUND 0x100000
|
||||
#define CONFIG_ENV_SIZE 0x20000 /* 1 sector = 128 kB */
|
||||
#define CONFIG_BOOTCOMMAND "nand read 0x22000000 0x200000 0x300000; bootm"
|
||||
|
@ -125,7 +125,7 @@
|
||||
#else /* CONFIG_SYS_USE_NANDFLASH */
|
||||
|
||||
/* bootstrap + u-boot + env + linux in nandflash */
|
||||
#define CONFIG_ENV_OFFSET 0x120000
|
||||
#define CONFIG_ENV_OFFSET 0x140000
|
||||
#define CONFIG_ENV_OFFSET_REDUND 0x100000
|
||||
#define CONFIG_ENV_SIZE 0x20000 /* 1 sector = 128 kB */
|
||||
#define CONFIG_BOOTCOMMAND "nand read 0x22000000 0x200000 0x300000; bootm"
|
||||
|
@ -234,7 +234,7 @@
|
||||
#elif CONFIG_SYS_USE_NANDFLASH
|
||||
|
||||
/* bootstrap + u-boot + env + linux in nandflash */
|
||||
#define CONFIG_ENV_OFFSET 0x120000
|
||||
#define CONFIG_ENV_OFFSET 0x140000
|
||||
#define CONFIG_ENV_OFFSET_REDUND 0x100000
|
||||
#define CONFIG_ENV_SIZE 0x20000 /* 1 sector = 128 kB */
|
||||
#define CONFIG_BOOTCOMMAND "nand read 0x22000000 0x200000 0x300000; bootm"
|
||||
|
@ -76,7 +76,7 @@
|
||||
|
||||
#ifdef CONFIG_NAND_BOOT
|
||||
/* bootstrap + u-boot + env in nandflash */
|
||||
#define CONFIG_ENV_OFFSET 0x120000
|
||||
#define CONFIG_ENV_OFFSET 0x140000
|
||||
#define CONFIG_ENV_OFFSET_REDUND 0x100000
|
||||
#define CONFIG_ENV_SIZE 0x20000
|
||||
|
||||
|
@ -110,7 +110,7 @@
|
||||
#elif defined(CONFIG_NAND_BOOT)
|
||||
|
||||
/* bootstrap + u-boot + env + linux in nandflash */
|
||||
#define CONFIG_ENV_OFFSET 0x120000
|
||||
#define CONFIG_ENV_OFFSET 0x140000
|
||||
#define CONFIG_ENV_OFFSET_REDUND 0x100000
|
||||
#define CONFIG_ENV_SIZE 0x20000 /* 1 sector = 128 kB */
|
||||
#define CONFIG_BOOTCOMMAND \
|
||||
|
@ -86,7 +86,7 @@
|
||||
#elif CONFIG_SYS_USE_NANDFLASH
|
||||
|
||||
/* bootstrap + u-boot + env + linux in nandflash */
|
||||
#define CONFIG_ENV_OFFSET 0x120000
|
||||
#define CONFIG_ENV_OFFSET 0x140000
|
||||
#define CONFIG_ENV_OFFSET_REDUND 0x100000
|
||||
#define CONFIG_ENV_SIZE 0x20000 /* 1 sector = 128 kB */
|
||||
#define CONFIG_BOOTCOMMAND "nand read 0x22000000 0x200000 0x600000; " \
|
||||
|
@ -86,7 +86,7 @@
|
||||
|
||||
#ifdef CONFIG_NAND_BOOT
|
||||
/* bootstrap + u-boot + env + linux in nandflash */
|
||||
#define CONFIG_ENV_OFFSET 0x120000
|
||||
#define CONFIG_ENV_OFFSET 0x140000
|
||||
#define CONFIG_ENV_OFFSET_REDUND 0x100000
|
||||
#define CONFIG_ENV_SIZE 0x20000 /* 1 sector = 128 kB */
|
||||
#define CONFIG_BOOTCOMMAND "nand read " \
|
||||
|
Loading…
Reference in New Issue
Block a user