diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2019-02-13 11:58:54 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-19 16:55:43 +0300 |
commit | 362d00dfff049603ada5e0257943f0d74aeb8854 (patch) | |
tree | c7a04d2d1b6cdd61752292bf153a8aa027d51d51 /include | |
parent | 7374b15522b94d39108da6233b60ffbf30632678 (diff) | |
download | u-boot-362d00dfff049603ada5e0257943f0d74aeb8854.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/hikey.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/hikey.h b/include/configs/hikey.h index 003cd75baf..60c6bde16e 100644 --- a/include/configs/hikey.h +++ b/include/configs/hikey.h @@ -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 */ |