diff mbox series

[02/41] arm: exynos5: Migrate USB_BOOTING to Kconfig

Message ID 20221202214251.3027264-2-trini@konsulko.com
State Accepted
Commit 4475d017c57f93dca61c08563b3ff4202d38a127
Delegated to: Tom Rini
Headers show
Series [01/41] usb: Update USB_STORAGE dependencies | expand

Commit Message

Tom Rini Dec. 2, 2022, 9:42 p.m. UTC
This symbol is enabled for all exynos5 platforms, move to Kconfig and
select it.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
Please note that include/configs/exynos5-common.h isn't covered by a
MAINTAINERS entry and should be, thanks.
---
 arch/arm/mach-exynos/Kconfig     | 4 ++++
 include/configs/exynos5-common.h | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 29e35e443c6a..383af83066ec 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -4,6 +4,9 @@  config BOARD_COMMON
 	def_bool y
 	depends on !TARGET_SMDKV310 && !TARGET_ARNDALE
 
+config USB_BOOTING
+	bool
+
 choice
 	prompt "EXYNOS architecture type select"
 	optional
@@ -24,6 +27,7 @@  config ARCH_EXYNOS5
 	select BOARD_EARLY_INIT_F
 	select CPU_V7A
 	select SHA_HW_ACCEL
+	select USB_BOOTING
 	imply CMD_HASH
 	imply CRC32_VERIFY
 	imply HASH_VERIFY
diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h
index dd322c2b3a79..9b5c329bda18 100644
--- a/include/configs/exynos5-common.h
+++ b/include/configs/exynos5-common.h
@@ -58,7 +58,6 @@ 
 /* USB */
 
 /* USB boot mode */
-#define CONFIG_USB_BOOTING
 #define EXYNOS_COPY_USB_FNPTR_ADDR	0x02020070
 #define EXYNOS_USB_SECONDARY_BOOT	0xfeed0002
 #define EXYNOS_IRAM_SECONDARY_BASE	0x02020018