Convert CONFIG_SMSC_LPC47M et al to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 19 Nov 2022 23:45:33 +0000 (18:45 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:08:37 +0000 (16:08 -0500)
This converts the following to Kconfig:
   CONFIG_SMSC_LPC47M
   CONFIG_SMSC_SIO1007

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/cougarcanyon2_defconfig
configs/crownbay_defconfig
drivers/misc/Kconfig
include/configs/cougarcanyon2.h
include/configs/crownbay.h

index 203eff8..8b47f2d 100644 (file)
@@ -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
index cb0f0d7..038cbbe 100644 (file)
@@ -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
index 122d605..b07261d 100644 (file)
@@ -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
index efd0b77..b64c7df 100644 (file)
@@ -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"
index e8a8af7..ff74deb 100644 (file)
@@ -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"