Skip to contentSkip to conversation

Sync HS and non-HS defconfigs

PATCH Superseded Andrew F. Davis 2 participants 5 messages Feb 22, 2017 – Feb 23, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Sync HS and non-HS defconfigs

Hi all,

The HS and non-HS versions of TI boards are very similar but currently need separate defconfigs, these should be almost identical outside of the security additions. When they track out of sync it is normally not a problem, but a couple of these changes are now important and so lets sync them up.

Thanks,
Andrew

Andrew F. Davis (3):
defconfigs: am43xx_hs_evm: Sync HS and non-HS defconfigs
defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs
defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs

 configs/am43xx_hs_evm_defconfig | 4 +++-
 configs/am57xx_hs_evm_defconfig | 7 +++++++
 configs/dra7xx_hs_evm_defconfig | 1 +
 3 files changed, 11 insertions(+), 1 deletion(-)
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/3 defconfigs: am43xx_hs_evm: Sync HS and non-HS defconfigs

Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them.

---
 configs/am43xx_hs_evm_defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
configs/am43xx_hs_evm_defconfig +3 -1
index 8bb1b3535a..939df44fae 100644
@@ -10,7 +10,7 @@ CONFIG_FIT=y
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
-CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1, NAND"
+CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1,NAND"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
@@ -41,6 +41,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
 CONFIG_OF_CONTROL=y
+CONFIG_OF_LIST="am437x-gp-evm am437x-sk-evm am43x-epos-evm am437x-idk-evm"
 CONFIG_DM=y
 # CONFIG_BLK is not set
 CONFIG_DFU_MMC=y
@@ -53,6 +54,7 @@ CONFIG_DM_MMC=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_DM_ETH=y
 CONFIG_DM_SERIAL=y
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/3 defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs

In reply to Andrew F. Davis

Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them.

---
 configs/am57xx_hs_evm_defconfig | 7 +++++++
 1 file changed, 7 insertions(+)
configs/am57xx_hs_evm_defconfig +7 -0
index 7e84ccddf3..b5f54c3a13 100644
@@ -8,6 +8,7 @@ CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
 CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
+CONFIG_ARMV7_LPAE=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
 CONFIG_FIT=y
@@ -48,6 +49,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
@@ -55,6 +57,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
 CONFIG_OF_CONTROL=y
+CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am572x-idk am571x-idk"
 CONFIG_DM=y
 # CONFIG_BLK is not set
 CONFIG_DFU_MMC=y
@@ -68,6 +71,10 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_DM_PMIC=y
+CONFIG_PMIC_PALMAS=y
+CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_PALMAS=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_DM_SPI=y
Signature · 1 line
2.11.0
#3 lore raw

PATCH 3/3 defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs

In reply to Andrew F. Davis

Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them.

---
 configs/dra7xx_hs_evm_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/dra7xx_hs_evm_defconfig +1 -0
index 244940cd6c..0768ce51cc 100644
@@ -9,6 +9,7 @@ CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
 CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
+CONFIG_ARMV7_LPAE=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="dra7-evm"
 CONFIG_FIT=y
Signature · 1 line
2.11.0
#4 lore raw

cover Sync HS and non-HS defconfigs

In reply to Andrew F. Davis
Quoted 16 lines · Andrew F. Davis

Hi all,

The HS and non-HS versions of TI boards are very similar but currently need separate defconfigs, these should be almost identical outside of the security additions. When they track out of sync it is normally not a problem, but a couple of these changes are now important and so lets sync them up.

Thanks,
Andrew

Andrew F. Davis (3):
defconfigs: am43xx_hs_evm: Sync HS and non-HS defconfigs
defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs
defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs

Quoted 4 lines
 configs/am43xx_hs_evm_defconfig | 4 +++-
 configs/am57xx_hs_evm_defconfig | 7 +++++++
 configs/dra7xx_hs_evm_defconfig | 1 +
 3 files changed, 11 insertions(+), 1 deletion(-)

This feels like another area where we need to be implying things in arch/arm/mach-omap2/am33xx/Kconfig or arch/arm/Kconfig, depending on if it's board feature or SoC feature. And some of the DM_xxx we should be select'ing as it then comes down to imply'ing the driver that makes use of the framework as we should be discarding the unused framework at link time if there's no driver to it. Thanks!

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/20170223/4d5f0b55/attachment.sig>