[PATCH] ARM: rmobile: beacon: Set CONFIG_RZ_G2 on Beacon boards

The board detection is incorrectly stating it's an rcar3 variant instead of an RZ/G2 variant on all the r8a774*1_beacon boards. Set the flag to correctly display as RZ/G2[M/N/H]
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig index 4a87a9a31f..40004a2b57 100644 --- a/configs/r8a774a1_beacon_defconfig +++ b/configs/r8a774a1_beacon_defconfig @@ -5,6 +5,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_ENV_OFFSET=0x0 CONFIG_DM_GPIO=y CONFIG_RCAR_GEN3=y +CONFIG_RZ_G2=y CONFIG_TARGET_BEACON_RZG2M=y # CONFIG_SPL is not set CONFIG_DEFAULT_DEVICE_TREE="r8a774a1-beacon-rzg2m-kit" diff --git a/configs/r8a774b1_beacon_defconfig b/configs/r8a774b1_beacon_defconfig index 2c31222525..46a94568a8 100644 --- a/configs/r8a774b1_beacon_defconfig +++ b/configs/r8a774b1_beacon_defconfig @@ -5,6 +5,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_ENV_OFFSET=0x0 CONFIG_DM_GPIO=y CONFIG_RCAR_GEN3=y +CONFIG_RZ_G2=y CONFIG_TARGET_BEACON_RZG2N=y # CONFIG_SPL is not set CONFIG_DEFAULT_DEVICE_TREE="r8a774b1-beacon-rzg2n-kit" diff --git a/configs/r8a774e1_beacon_defconfig b/configs/r8a774e1_beacon_defconfig index a814d6ad63..6cea7b9cc5 100644 --- a/configs/r8a774e1_beacon_defconfig +++ b/configs/r8a774e1_beacon_defconfig @@ -5,6 +5,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_ENV_OFFSET=0x0 CONFIG_DM_GPIO=y CONFIG_RCAR_GEN3=y +CONFIG_RZ_G2=y CONFIG_TARGET_BEACON_RZG2H=y # CONFIG_SPL is not set CONFIG_DEFAULT_DEVICE_TREE="r8a774e1-beacon-rzg2h-kit"

On 6/24/21 4:12 PM, Adam Ford wrote:
The board detection is incorrectly stating it's an rcar3 variant instead of an RZ/G2 variant on all the r8a774*1_beacon boards. Set the flag to correctly display as RZ/G2[M/N/H]
Just select/imply the defaults in arch/arm/mach-rmobile/Kconfig.64 like e.g. the HIHOPE board does there. That would be much better.
participants (2)
-
Adam Ford
-
Marek Vasut