]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_LSCHLV2 to Kconfig et al
authorTom Rini <trini@konsulko.com>
Wed, 23 Mar 2022 21:19:59 +0000 (17:19 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 14:28:46 +0000 (10:28 -0400)
This converts the following to Kconfig:
   CONFIG_LSCHLV2
   CONFIG_LSXHL

Cc: Michael Walle <michael@walle.cc>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Michael Walle <michael@walle.cc>
board/buffalo/lsxl/Kconfig
configs/lschlv2_defconfig
configs/lsxhl_defconfig

index ef7889637806bc0d79fb38e3d1db6d7a98824ead..fd8f0542c31a201f764db9071d2080b53c8703df 100644 (file)
@@ -9,4 +9,15 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
        default "lsxl"
 
+choice
+       prompt "Board model"
+
+config LSCHLV2
+       bool "LSCHLV2 support"
+
+config LSXHL
+       bool "LSXHL support"
+
+endchoice
+
 endif
index 0cfa6d0c7bdf8ff15aa799ce6ac7bc9356fbc40d..8ec6ca2c84455cfb2e5a26cc241d9db4f28ce8b4 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_SYS_KWD_CONFIG="board/buffalo/lsxl/kwbimage-lschl.cfg"
 CONFIG_SYS_TEXT_BASE=0x600000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_TARGET_LSXL=y
+CONFIG_LSCHLV2=y
 CONFIG_ENV_SIZE=0x10000
 CONFIG_ENV_OFFSET=0x70000
 CONFIG_ENV_SECT_SIZE=0x10000
@@ -15,7 +16,6 @@ CONFIG_IDENT_STRING=" LS-CHLv2"
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SYS_LOAD_ADDR=0x800000
 CONFIG_API=y
-CONFIG_SYS_EXTRA_OPTIONS="LSCHLV2"
 CONFIG_SHOW_BOOT_PROGRESS=y
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
index 046db90742f787473a0654000f0bab4d0fa29282..0de6fc55c6afefcd09ee3259bd5170c1d55db3d3 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_SYS_KWD_CONFIG="board/buffalo/lsxl/kwbimage-lsxhl.cfg"
 CONFIG_SYS_TEXT_BASE=0x600000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_TARGET_LSXL=y
+CONFIG_LSXHL=y
 CONFIG_ENV_SIZE=0x10000
 CONFIG_ENV_OFFSET=0x70000
 CONFIG_ENV_SECT_SIZE=0x10000
@@ -15,7 +16,6 @@ CONFIG_IDENT_STRING=" LS-XHL"
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SYS_LOAD_ADDR=0x800000
 CONFIG_API=y
-CONFIG_SYS_EXTRA_OPTIONS="LSXHL"
 CONFIG_SHOW_BOOT_PROGRESS=y
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y