mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
bfin: make env offset sector aligned for bct-brettl2 and ibf-dsp561 boards
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
parent
5dea3a745b
commit
0d3fd562c4
2 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@
|
||||||
#define CONFIG_ENV_IS_IN_FLASH 1
|
#define CONFIG_ENV_IS_IN_FLASH 1
|
||||||
#define CONFIG_ENV_OFFSET 0x4000
|
#define CONFIG_ENV_OFFSET 0x4000
|
||||||
#define CONFIG_ENV_SIZE 0x2000
|
#define CONFIG_ENV_SIZE 0x2000
|
||||||
#define CONFIG_ENV_SECT_SIZE 0x10000
|
#define CONFIG_ENV_SECT_SIZE 0x12000
|
||||||
|
|
||||||
#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS)
|
#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS)
|
||||||
#define ENV_IS_EMBEDDED
|
#define ENV_IS_EMBEDDED
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
#define CONFIG_ENV_OFFSET 0x4000
|
#define CONFIG_ENV_OFFSET 0x4000
|
||||||
#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + CONFIG_ENV_OFFSET)
|
#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + CONFIG_ENV_OFFSET)
|
||||||
#define CONFIG_ENV_SIZE 0x2000
|
#define CONFIG_ENV_SIZE 0x2000
|
||||||
#define CONFIG_ENV_SECT_SIZE 0x10000 /* Total Size of Environment Sector */
|
#define CONFIG_ENV_SECT_SIZE 0x12000 /* Total Size of Environment Sector */
|
||||||
#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS)
|
#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS)
|
||||||
#define ENV_IS_EMBEDDED
|
#define ENV_IS_EMBEDDED
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue