]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: exynos5: Migrate USB_BOOTING to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 21:42:12 +0000 (16:42 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 22 Dec 2022 00:04:33 +0000 (19:04 -0500)
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>
arch/arm/mach-exynos/Kconfig
include/configs/exynos5-common.h

index 29e35e443c6a3284c86c1a4589a033ad69d938e6..383af83066ec40ab3a2a9f3d0457edc012ea5028 100644 (file)
@@ -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
index dd322c2b3a79787b9da5c3e42dfd2e8fced199b8..9b5c329bda18dd7cd2e6cbc54cd26f90a6b3a6cf 100644 (file)
@@ -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