aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-22 10:28:33 -0400
committerTom Rini <trini@konsulko.com>2022-03-23 13:10:28 -0400
commit8e39841f7fd552c38cadb4c942138b00a8d1d375 (patch)
tree16adaaffeee31075746108159a7019741e644a35
parent0ffe30137faaf24f3b40c859db9377b99bbc1537 (diff)
downloadu-boot-8e39841f7fd552c38cadb4c942138b00a8d1d375.zip
u-boot-8e39841f7fd552c38cadb4c942138b00a8d1d375.tar.gz
u-boot-8e39841f7fd552c38cadb4c942138b00a8d1d375.tar.bz2
stmark2: Migrate CONFIG_SYS_EXTRA_OPTIONS to Kconfig
This platform is the only one to set these options, so define them in the board Kconfig file. Cc: Angelo Dureghello <angelo@sysam.it> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/sysam/stmark2/Kconfig7
-rw-r--r--configs/stmark2_defconfig1
2 files changed, 7 insertions, 1 deletions
diff --git a/board/sysam/stmark2/Kconfig b/board/sysam/stmark2/Kconfig
index 87ab7ab..4abcdb3 100644
--- a/board/sysam/stmark2/Kconfig
+++ b/board/sysam/stmark2/Kconfig
@@ -1,5 +1,12 @@
if TARGET_STMARK2
+config CF_SBF
+ def_bool y
+
+config SYS_INPUT_CLKSRC
+ hex
+ default 30000000
+
config SYS_CPU
default "mcf5445x"
diff --git a/configs/stmark2_defconfig b/configs/stmark2_defconfig
index 17007a0..c85e3e7 100644
--- a/configs/stmark2_defconfig
+++ b/configs/stmark2_defconfig
@@ -9,7 +9,6 @@ CONFIG_TARGET_STMARK2=y
CONFIG_MCFTMR=y
CONFIG_SYS_LOAD_ADDR=0x40010000
CONFIG_TIMESTAMP=y
-CONFIG_SYS_EXTRA_OPTIONS="CF_SBF,SYS_SERIAL_BOOT,SYS_INPUT_CLKSRC=30000000"
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 rw rootfstype=ramfs rdinit=/bin/init devtmpfs.mount=1"
CONFIG_USE_BOOTCOMMAND=y