[PATCH 26/38] Convert CONFIG_SMSC_LPC47M et al to Kconfig
Tom Rini
trini at konsulko.com
Sun Nov 20 00:45:33 CET 2022
This converts the following to Kconfig:
CONFIG_SMSC_LPC47M
CONFIG_SMSC_SIO1007
Signed-off-by: Tom Rini <trini at konsulko.com>
---
configs/cougarcanyon2_defconfig | 1 +
configs/crownbay_defconfig | 1 +
drivers/misc/Kconfig | 6 ++++++
include/configs/cougarcanyon2.h | 2 --
include/configs/crownbay.h | 2 --
5 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/configs/cougarcanyon2_defconfig b/configs/cougarcanyon2_defconfig
index 203eff8e165a..8b47f2d89f87 100644
--- a/configs/cougarcanyon2_defconfig
+++ b/configs/cougarcanyon2_defconfig
@@ -52,6 +52,7 @@ CONFIG_SYSCON=y
CONFIG_LBA48=y
CONFIG_SYS_64BIT_LBA=y
CONFIG_CPU=y
+CONFIG_SMSC_SIO1007=y
CONFIG_SYS_NS16550=y
CONFIG_SYS_NS16550_PORT_MAPPED=y
CONFIG_SPI=y
diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
index cb0f0d7c8d02..038cbbe5b993 100644
--- a/configs/crownbay_defconfig
+++ b/configs/crownbay_defconfig
@@ -56,6 +56,7 @@ CONFIG_SYSCON=y
CONFIG_LBA48=y
CONFIG_SYS_64BIT_LBA=y
CONFIG_CPU=y
+CONFIG_SMSC_LPC47M=y
CONFIG_E1000=y
CONFIG_SYS_NS16550_PORT_MAPPED=y
CONFIG_SOUND=y
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 122d605a537d..b07261d3db5a 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -112,6 +112,12 @@ config SIFIVE_OTP
Enable support for reading and writing the eMemory OTP on the
SiFive SoCs.
+config SMSC_LPC47M
+ bool "LPC47M SMSC driver"
+
+config SMSC_SIO1007
+ bool "SIO1007 SMSC driver"
+
config VEXPRESS_CONFIG
bool "Enable support for Arm Versatile Express config bus"
depends on MISC
diff --git a/include/configs/cougarcanyon2.h b/include/configs/cougarcanyon2.h
index efd0b7784350..b64c7df1b25f 100644
--- a/include/configs/cougarcanyon2.h
+++ b/include/configs/cougarcanyon2.h
@@ -8,8 +8,6 @@
#include <configs/x86-common.h>
-#define CONFIG_SMSC_SIO1007
-
#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
"stdout=serial,vga\0" \
"stderr=serial,vga\0"
diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index e8a8af7e6492..ff74deb3d400 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -12,8 +12,6 @@
#include <configs/x86-common.h>
-#define CONFIG_SMSC_LPC47M
-
#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
"stdout=serial,vidconsole\0" \
"stderr=serial,vidconsole\0"
--
2.25.1
More information about the U-Boot
mailing list