Skip to contentSkip to conversation

ARM: rmobile: Add missing config bits after resync

PATCH Superseded Marek Vasut 2 participants 7 messages Jun 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: rmobile: Add missing config bits after resync

The commit "fb82fe385173 configs: Resync defconfigs" broke all Gen3 boards by removing config options from the config which are needed for correct build. Reinstate those.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 configs/r8a7795_salvator-x_defconfig | 2 ++
 configs/r8a7796_salvator-x_defconfig | 1 +
 2 files changed, 3 insertions(+)
configs/r8a7795_salvator-x_defconfig +2 -0
index e4f80c427d..0cab920d96 100644
@@ -1,7 +1,9 @@
 CONFIG_ARM=y
 CONFIG_ARCH_RMOBILE=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_DEFAULT_FDT_FILE="r8a7795-salvator-x.dtb"
 CONFIG_RCAR_GEN3=y
+CONFIG_R8A7795=y
 CONFIG_TARGET_SALVATOR_X=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
configs/r8a7796_salvator-x_defconfig +1 -0
index e859311030..dfd91d2755 100644
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_RMOBILE=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_DEFAULT_FDT_FILE="r8a7796-salvator-x.dtb"
 CONFIG_RCAR_GEN3=y
 CONFIG_R8A7796=y
 CONFIG_TARGET_SALVATOR_X=y
Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/1 ARM: rmobile: Add missing config bits after resync

From: Marek Vasut <[email protected]>

The commit "fb82fe385173 configs: Resync defconfigs" broke all Gen3 boards by removing config options from the config which are needed for correct build. Reinstate those.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 configs/r8a7795_salvator-x_defconfig | 1 +
 configs/r8a7796_salvator-x_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/r8a7795_salvator-x_defconfig +1 -0
index 0d0f07752bb8..a4e67a8b3340 100644
@@ -3,6 +3,7 @@ CONFIG_ARCH_RMOBILE=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_SALVATOR_X=y
+CONFIG_DEFAULT_FDT_FILE="r8a7795-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
configs/r8a7796_salvator-x_defconfig +1 -0
index 9914417be4b6..13ca10c8bd35 100644
@@ -4,6 +4,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_R8A7796=y
 CONFIG_TARGET_SALVATOR_X=y
+CONFIG_DEFAULT_FDT_FILE="r8a7796-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
Signature · 1 line
1.9.1
#2 lore raw

PATCH v2 1/1 ARM: rmobile: Add missing config bits after resync

Quoted 8 lines · Tom Rini

From: Marek Vasut <[email protected]>

The commit "fb82fe385173 configs: Resync defconfigs" broke all Gen3 boards by removing config options from the config which are needed for correct build. Reinstate those.

Cc Nobuhiro Iwamatsu <[email protected]>

Please keep the CONFIG_R8A7795=y for consistency's sake.

Quoted 30 lines
---
 configs/r8a7795_salvator-x_defconfig | 1 +
 configs/r8a7796_salvator-x_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/r8a7795_salvator-x_defconfig +1 -0
index 0d0f07752bb8..a4e67a8b3340 100644
@@ -3,6 +3,7 @@ CONFIG_ARCH_RMOBILE=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_SALVATOR_X=y
+CONFIG_DEFAULT_FDT_FILE="r8a7795-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
configs/r8a7796_salvator-x_defconfig +1 -0
index 9914417be4b6..13ca10c8bd35 100644
@@ -4,6 +4,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_R8A7796=y
 CONFIG_TARGET_SALVATOR_X=y
+CONFIG_DEFAULT_FDT_FILE="r8a7796-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
Signature · 2 lines
Best regards,
Marek Vasut
#3 lore raw

PATCH v2 1/1 ARM: rmobile: Add missing config bits after resync

Quoted 11 lines · Marek Vasut
Quoted 8 lines · Tom Rini

From: Marek Vasut <[email protected]>

The commit "fb82fe385173 configs: Resync defconfigs" broke all Gen3 boards by removing config options from the config which are needed for correct build. Reinstate those.

Cc Nobuhiro Iwamatsu <[email protected]>

Please keep the CONFIG_R8A7795=y for consistency's sake.

Nope, please correct your Kconfig entry for consistency's sake (in this case, default R8A7795 rather than it just being the first entry). You cannot rely on X being set in the defconfig file to enforce Y happening, you use the Kconfig files for that. configs/ content is regnerated.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170620/67712ab0/attachment.sig>
#4 lore raw

PATCH v3 1/1 ARM: rmobile: Add missing config bits

In reply to Tom Rini

From: Marek Vasut <[email protected]>

The commit "fb82fe385173 configs: Resync defconfigs" resynced all config files. This exposed two latent issues with the Gen3 boards in that we had not been setting CONFIG_DEFAULT_FDT_FILE correctly and had not been setting CONFIG_CMD_MMC. Fix both of these.

Fixes fb82fe385173 ("configs: Resync defconfigs")
Cc Nobuhiro Iwamatsu <[email protected]>
---
 configs/r8a7795_salvator-x_defconfig | 2 ++
 configs/r8a7796_salvator-x_defconfig | 2 ++
 2 files changed, 4 insertions(+)
configs/r8a7795_salvator-x_defconfig +2 -0
index 0d0f07752bb8..c0e3999f9675 100644
@@ -3,9 +3,11 @@ CONFIG_ARCH_RMOBILE=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_SALVATOR_X=y
+CONFIG_DEFAULT_FDT_FILE="r8a7795-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/r8a7796_salvator-x_defconfig +2 -0
index 9914417be4b6..d57305112b52 100644
@@ -4,9 +4,11 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_R8A7796=y
 CONFIG_TARGET_SALVATOR_X=y
+CONFIG_DEFAULT_FDT_FILE="r8a7796-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
Signature · 1 line
1.9.1
#5 lore raw

PATCH v3 1/1 ARM: rmobile: Add missing config bits

Quoted 6 lines · Tom Rini

From: Marek Vasut <[email protected]>

The commit "fb82fe385173 configs: Resync defconfigs" resynced all config files. This exposed two latent issues with the Gen3 boards in that we had not been setting CONFIG_DEFAULT_FDT_FILE correctly and had not been setting CONFIG_CMD_MMC. Fix both of these.

This patch now conflicts with
https://patchwork.ozlabs.org/patch/777294/

Quoted 42 lines
Fixes fb82fe385173 ("configs: Resync defconfigs")
Cc Nobuhiro Iwamatsu <[email protected]>
---
 configs/r8a7795_salvator-x_defconfig | 2 ++
 configs/r8a7796_salvator-x_defconfig | 2 ++
 2 files changed, 4 insertions(+)
configs/r8a7795_salvator-x_defconfig +2 -0
index 0d0f07752bb8..c0e3999f9675 100644
@@ -3,9 +3,11 @@ CONFIG_ARCH_RMOBILE=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_SALVATOR_X=y
+CONFIG_DEFAULT_FDT_FILE="r8a7795-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/r8a7796_salvator-x_defconfig +2 -0
index 9914417be4b6..d57305112b52 100644
@@ -4,9 +4,11 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_R8A7796=y
 CONFIG_TARGET_SALVATOR_X=y
+CONFIG_DEFAULT_FDT_FILE="r8a7796-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
Signature · 2 lines
Best regards,
Marek Vasut
#6 lore raw

PATCH v3 1/1 ARM: rmobile: Add missing config bits

Quoted 10 lines · Marek Vasut
Quoted 6 lines · Tom Rini

From: Marek Vasut <[email protected]>

The commit "fb82fe385173 configs: Resync defconfigs" resynced all config files. This exposed two latent issues with the Gen3 boards in that we had not been setting CONFIG_DEFAULT_FDT_FILE correctly and had not been setting CONFIG_CMD_MMC. Fix both of these.

This patch now conflicts with
https://patchwork.ozlabs.org/patch/777294/

Yes, your second patch does not apply and is superseded by this single patch that corrects both problems that were exposed by the resync.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170620/fa9edef8/attachment.sig>