mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
zynq-common: Define flash env. partition
Last 128Kb sector of 1Mb flash is defined as u-boot environment partition. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
This commit is contained in:
parent
18eee22f4c
commit
ed53e4d690
1 changed files with 11 additions and 1 deletions
|
@ -133,7 +133,17 @@
|
|||
#define CONFIG_ENV_SIZE (128 << 10)
|
||||
|
||||
/* Environment */
|
||||
#ifndef CONFIG_ENV_IS_NOWHERE
|
||||
# ifndef CONFIG_SYS_NO_FLASH
|
||||
# define CONFIG_ENV_IS_IN_FLASH
|
||||
# elif defined(CONFIG_SYS_NO_FLASH)
|
||||
# define CONFIG_ENV_IS_NOWHERE
|
||||
# endif
|
||||
|
||||
# define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
|
||||
# define CONFIG_ENV_OFFSET 0xE0000
|
||||
# define CONFIG_CMD_SAVEENV
|
||||
#endif
|
||||
|
||||
/* Default environment */
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
|
|
Loading…
Reference in a new issue