Skip to contentSkip to conversation

ARM: rmobile: beacon: Set CONFIG_RZ_G2 on Beacon boards

PATCH Superseded Adam Ford 2 participants 2 messages Jun 24, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 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]

configs/r8a774a1_beacon_defconfig +1 -0
index 4a87a9a31f..40004a2b57 100644
@@ -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"
configs/r8a774b1_beacon_defconfig +1 -0
index 2c31222525..46a94568a8 100644
@@ -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"
configs/r8a774e1_beacon_defconfig +1 -0
index a814d6ad63..6cea7b9cc5 100644
@@ -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"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Adam Ford

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.