arm: rmobile: Use imply for BOARD_EARLY_INIT_F
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 22 Sep 2020 12:06:49 +0000 (13:06 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 26 Sep 2020 15:25:43 +0000 (17:25 +0200)
Use "imply" instead of "select" for BOARD_EARLY_INIT_F config option,
and then disable it on boards which don't need it.

Updated grpeach_defconfig to disable CONFIG_BOARD_EARLY_INIT_F option for
RZA1.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
arch/arm/Kconfig
configs/grpeach_defconfig

index 6a02278..abbc89a 100644 (file)
@@ -943,9 +943,9 @@ config ARCH_QEMU
 
 config ARCH_RMOBILE
        bool "Renesas ARM SoCs"
-       select BOARD_EARLY_INIT_F if !RZA1
        select DM
        select DM_SERIAL
+       imply BOARD_EARLY_INIT_F
        imply CMD_DM
        imply FAT_WRITE
        imply SYS_THUMB_BUILD
index fb5a7b0..8b08b77 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="r7s72100-gr-peach-u-boot"
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="ignore_loglevel"
+# CONFIG_BOARD_EARLY_INIT_F is not set
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_ELF is not set