summaryrefslogtreecommitdiff
path: root/configs/ap152_defconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-11 22:55:48 +0300
committerTom Rini <trini@konsulko.com>2021-12-27 16:40:33 +0300
commit7e6a6fd82140dd4136b5a98e459b384f910ccd74 (patch)
tree83855fd61b6c0d0c4970e5a1f4b93b8eaecb1e8f /configs/ap152_defconfig
parent5fd4a7ed0ce102c7f3720f67555878bc0b395eb6 (diff)
downloadu-boot-7e6a6fd82140dd4136b5a98e459b384f910ccd74.tar.xz
Convert CONFIG_ENV_SPI_BUS et al to Kconfig
This converts the following to Kconfig: CONFIG_ENV_SPI_BUS CONFIG_ENV_SPI_CS CONFIG_ENV_SPI_MAX_HZ CONFIG_ENV_SPI_MODE As part of this, we use Kconfig to provide the defaults now that were done in include/spi_flash.h. We also in some cases change from using CONFIG_ENV_SPI_FOO to CONFIG_SF_DEFAULT_FOO as those were the values in use anyhow as ENV was not enabled. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/ap152_defconfig')
-rw-r--r--configs/ap152_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/ap152_defconfig b/configs/ap152_defconfig
index e2f6f09376..3aa0ea5c56 100644
--- a/configs/ap152_defconfig
+++ b/configs/ap152_defconfig
@@ -39,6 +39,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=spi-flash.0"
CONFIG_MTDPARTS_DEFAULT="mtdparts=spi-flash.0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1472k(uImage),64k(ART)"
# CONFIG_ISO_PARTITION is not set
CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_ENV_SPI_MAX_HZ=25000000
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
# CONFIG_NET is not set
CONFIG_MTD=y