From d91365203c06e0fbfa329e707196e9aa51241e4c Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 19 Nov 2022 18:45:33 -0500 Subject: [PATCH] Convert CONFIG_SMSC_LPC47M et al to Kconfig This converts the following to Kconfig: CONFIG_SMSC_LPC47M CONFIG_SMSC_SIO1007 Signed-off-by: Tom Rini --- 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 203eff8..8b47f2d 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 cb0f0d7..038cbbe 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 122d605..b07261d 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 efd0b77..b64c7df 100644 --- a/include/configs/cougarcanyon2.h +++ b/include/configs/cougarcanyon2.h @@ -8,8 +8,6 @@ #include -#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 e8a8af7..ff74deb 100644 --- a/include/configs/crownbay.h +++ b/include/configs/crownbay.h @@ -12,8 +12,6 @@ #include -#define CONFIG_SMSC_LPC47M - #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \ "stdout=serial,vidconsole\0" \ "stderr=serial,vidconsole\0" -- 2.7.4