arm: exynos5: Migrate USB_BOOTING to Kconfig

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>
This commit is contained in:
Tom Rini 2022-12-02 16:42:12 -05:00
parent 7d212af2b1
commit 4475d017c5
2 changed files with 4 additions and 1 deletions

View 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

View 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