diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2022-09-15 11:14:26 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2022-10-19 19:30:49 +0800 |
commit | ac471587f28f9539ab1da27c9fa491f69eb106a9 (patch) | |
tree | 7f178c40a3eeb794e02080cdedd5a441e09ff25f /configs/puma-rk3399_defconfig | |
parent | d7435d4057ba23a5fcda6784d8e92289e11b4b01 (diff) | |
download | u-boot-ac471587f28f9539ab1da27c9fa491f69eb106a9.tar.gz |
rockchip: puma-rk3399: allow loading environment from SPI-NOR flash
There's a SPI-NOR flash available from which SPL and U-Boot proper can
be booted, it makes sense to also allow this medium to store U-Boot
environment so let's enable it.
The Device Tree advertises a max frequency of 50MHz so let's set the
config option appropriately.
Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'configs/puma-rk3399_defconfig')
-rw-r--r-- | configs/puma-rk3399_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index 1b0bf8848a2..f62cfc9aab7 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma-rk3399_defconfig @@ -54,6 +54,8 @@ CONFIG_OF_LIVE=y CONFIG_OF_SPL_REMOVE_PROPS="interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_MMC=y +CONFIG_ENV_IS_IN_SPI_FLASH=y +CONFIG_ENV_SPI_MAX_HZ=50000000 CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_MMC_ENV_DEV=1 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y |