mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
hikey: Allow environment to store in eMMC and increase bootdelay
Current Hikey configuration allows us to store u-boot environment on uSD card. But this will be useless if uSD card is not inserted, hence use the onboard eMMC memory for storing environment at Boot1 partition. While we are at it, let's increase the boot delay to 10s also. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
7374b15522
commit
362d00dfff
2 changed files with 5 additions and 4 deletions
|
@ -15,9 +15,8 @@ CONFIG_CMD_MMC=y
|
|||
CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="hi6220-hikey"
|
||||
CONFIG_ENV_IS_IN_FAT=y
|
||||
CONFIG_ENV_FAT_INTERFACE="mmc"
|
||||
CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_BOOTDELAY=10
|
||||
CONFIG_DM_MMC=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_K3=y
|
||||
|
|
|
@ -81,8 +81,10 @@
|
|||
"initrd_high=0xffffffffffffffff\0" \
|
||||
BOOTENV
|
||||
|
||||
/* Preserve environment on sd card */
|
||||
/* Preserve environment on eMMC */
|
||||
#define CONFIG_ENV_SIZE 0x1000
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0 /* Use eMMC */
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2 /* Use Boot1 partition */
|
||||
|
||||
/* Monitor Command Prompt */
|
||||
#define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
|
||||
|
|
Loading…
Reference in a new issue