]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stmark2: Migrate CONFIG_SYS_EXTRA_OPTIONS to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 23 Mar 2022 21:19:52 +0000 (17:19 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 14:28:46 +0000 (10:28 -0400)
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>
board/sysam/stmark2/Kconfig
configs/stmark2_defconfig

index 87ab7ab7b521cb3d84e8e724657074d5968edf37..4abcdb3aaf16b726fe1d3e13f6c3642dd99f9ec8 100644 (file)
@@ -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"
 
index 17007a003b9f865f0762c506cf4656bd5cedbef9..c85e3e75d3df7dccb26a7ed3afa53e6b4fbe4601 100644 (file)
@@ -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