diff mbox series

arm: rmobile: Use imply for BOARD_EARLY_INIT_F

Message ID 20200922083044.5747-1-biju.das.jz@bp.renesas.com
State Superseded
Delegated to: Marek Vasut
Headers show
Series arm: rmobile: Use imply for BOARD_EARLY_INIT_F | expand

Commit Message

Biju Das Sept. 22, 2020, 8:30 a.m. UTC
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 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          | 2 +-
 configs/grpeach_defconfig | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Biju Das Sept. 22, 2020, 11:47 a.m. UTC | #1
Hi all ,

Please drop this. I will send V2 for this patch.

> -----Original Message-----
> From: Biju Das <biju.das.jz@bp.renesas.com>
> Sent: 22 September 2020 09:31
> To: Bharat Gooty <bharat.gooty@broadcom.com>; Rayagonda Kokatanur
> <rayagonda.kokatanur@broadcom.com>; Marek Vasut
> <marek.vasut@gmail.com>
> Cc: Biju Das <biju.das.jz@bp.renesas.com>; u-boot@lists.denx.de; Marek
> Vasut <marek.vasut+renesas@gmail.com>; Nobuhiro Iwamatsu
> <iwamatsu@nigauri.org>; Chris Paterson <Chris.Paterson2@renesas.com>;
> Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Subject: [PATCH] arm: rmobile: Use imply for BOARD_EARLY_INIT_F
>
> 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 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          | 2 +-
>  configs/grpeach_defconfig | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index
> 80702c23d3..f827d7a60e 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -940,9 +940,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
> diff --git a/configs/grpeach_defconfig b/configs/grpeach_defconfig index
> fb5a7b001b..c15168c37b 100644
> --- a/configs/grpeach_defconfig
> +++ b/configs/grpeach_defconfig
> @@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="r7s72100-gr-peach-
> u-boot"
>  CONFIG_BOOTDELAY=3
>  CONFIG_USE_BOOTARGS=y
>  CONFIG_BOOTARGS="ignore_loglevel"
> +# BOARD_EARLY_INIT_F is not set

Ah my mistake, it should be # CONFIG_ BOARD_EARLY_INIT_F is not set

>  # CONFIG_DISPLAY_CPUINFO is not set
>  CONFIG_HUSH_PARSER=y
>  # CONFIG_CMD_ELF is not set
> --
> 2.17.1



Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 80702c23d3..f827d7a60e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -940,9 +940,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
diff --git a/configs/grpeach_defconfig b/configs/grpeach_defconfig
index fb5a7b001b..c15168c37b 100644
--- a/configs/grpeach_defconfig
+++ b/configs/grpeach_defconfig
@@ -12,6 +12,7 @@  CONFIG_DEFAULT_DEVICE_TREE="r7s72100-gr-peach-u-boot"
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="ignore_loglevel"
+# BOARD_EARLY_INIT_F is not set
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_ELF is not set