Skip to contentSkip to conversation

ARM: Enable CMD_TIME on all TI platforms

PATCH New Lokesh Vutla 2 participants 8 messages Aug 11, 2016 – Aug 16, 2016

lore
Share & tools
lore
#0 lore raw

cover ARM: Enable CMD_TIME on all TI platforms

This series enables CMD_TIME on all TI platforms.

Lokesh Vutla (5):
configs: am335x: Enable CMD_TIME
configs: am43xx: Enable CMD_TIME
configs: am57xx: Enable CMD_TIME
configs: dra7xx: Enable CMD_TIME
configs: ks2: Enable CMD_TIME

 configs/am335x_boneblack_defconfig        | 1 +
 configs/am335x_evm_defconfig              | 1 +
 configs/am335x_evm_nor_defconfig          | 1 +
 configs/am335x_evm_norboot_defconfig      | 1 +
 configs/am335x_evm_spiboot_defconfig      | 1 +
 configs/am335x_evm_usbspl_defconfig       | 1 +
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_qspiboot_defconfig     | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/am43xx_hs_evm_defconfig           | 1 +
 configs/am57xx_evm_defconfig              | 1 +
 configs/am57xx_hs_evm_defconfig           | 1 +
 configs/dra7xx_evm_defconfig              | 1 +
 configs/dra7xx_hs_evm_defconfig           | 1 +
 configs/k2e_evm_defconfig                 | 1 +
 configs/k2g_evm_defconfig                 | 1 +
 configs/k2hk_evm_defconfig                | 1 +
 configs/k2l_evm_defconfig                 | 1 +
 19 files changed, 19 insertions(+)
Signature · 1 line
2.9.2
#1 lore raw

PATCH 1/5 configs: am335x: Enable CMD_TIME

Enable CONFIG_CMD_TIME for all am335x platforms

---
 configs/am335x_boneblack_defconfig   | 1 +
 configs/am335x_evm_defconfig         | 1 +
 configs/am335x_evm_nor_defconfig     | 1 +
 configs/am335x_evm_norboot_defconfig | 1 +
 configs/am335x_evm_spiboot_defconfig | 1 +
 configs/am335x_evm_usbspl_defconfig  | 1 +
 6 files changed, 6 insertions(+)
configs/am335x_boneblack_defconfig +1 -0
index d310e0b..5eebd2a 100644
@@ -43,3 +43,4 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
+CONFIG_CMD_TIME=y
configs/am335x_evm_defconfig +1 -0
index 6885230..2e11ac4 100644
@@ -50,3 +50,4 @@ CONFIG_SPL_OF_LIBFDT=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
 CONFIG_DM_I2C=y
+CONFIG_CMD_TIME=y
configs/am335x_evm_nor_defconfig +1 -0
index 76a004e..f2e1bf9 100644
@@ -39,3 +39,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
 CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
+CONFIG_CMD_TIME=y
configs/am335x_evm_norboot_defconfig +1 -0
index 99fc555..70a3167 100644
@@ -36,3 +36,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
 CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
+CONFIG_CMD_TIME=y
configs/am335x_evm_spiboot_defconfig +1 -0
index 2fe1a25..11637c0 100644
@@ -39,3 +39,4 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
+CONFIG_CMD_TIME=y
configs/am335x_evm_usbspl_defconfig +1 -0
index cba5e84..5269484 100644
@@ -39,3 +39,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
 CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
+CONFIG_CMD_TIME=y
Signature · 1 line
2.9.2
#2 lore raw

PATCH 2/5 configs: am43xx: Enable CMD_TIME

In reply to Lokesh Vutla

Enable CONFIG_CMD_TIME for all am43xx platforms

---
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_qspiboot_defconfig     | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/am43xx_hs_evm_defconfig           | 1 +
 5 files changed, 5 insertions(+)
configs/am43xx_evm_defconfig +1 -0
index b3fe269..9cb06aa 100644
@@ -56,3 +56,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0403
 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
 CONFIG_SPL_OF_LIBFDT=y
 CONFIG_DM_I2C=y
+CONFIG_CMD_TIME=y
configs/am43xx_evm_ethboot_defconfig +1 -0
index 3b958d7..aef1144 100644
@@ -42,3 +42,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0403
 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
 CONFIG_OF_LIBFDT=y
 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
+CONFIG_CMD_TIME=y
configs/am43xx_evm_qspiboot_defconfig +1 -0
index c6bc8e4..e4b65c6 100644
@@ -42,3 +42,4 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0403
 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
 CONFIG_OF_LIBFDT=y
+CONFIG_CMD_TIME=y
configs/am43xx_evm_usbhost_boot_defconfig +1 -0
index 34c875e..d993a13 100644
@@ -57,3 +57,4 @@ CONFIG_FIT=y
 CONFIG_SPL_OF_LIBFDT=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_LIST="am437x-gp-evm am437x-sk-evm am43x-epos-evm am437x-idk-evm"
+CONFIG_CMD_TIME=y
configs/am43xx_hs_evm_defconfig +1 -0
index c8ce723..388bb1b 100644
@@ -59,3 +59,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0403
 CONFIG_G_DNL_PRODUCT_NUM=0xbd00
 CONFIG_SPL_OF_LIBFDT=y
 CONFIG_DM_I2C=y
+CONFIG_CMD_TIME=y
Signature · 1 line
2.9.2
#3 lore raw

PATCH 3/5 configs: am57xx: Enable CMD_TIME

In reply to Lokesh Vutla

Enable CONFIG_CMD_TIME for all am57x platforms

---
 configs/am57xx_evm_defconfig    | 1 +
 configs/am57xx_hs_evm_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/am57xx_evm_defconfig +1 -0
index c95f45a..1649466 100644
@@ -46,3 +46,4 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_TI_QSPI=y
 CONFIG_CMD_SF=y
+CONFIG_CMD_TIME=y
configs/am57xx_hs_evm_defconfig +1 -0
index a4bfdd5..2ef92ce 100644
@@ -48,3 +48,4 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_TI_QSPI=y
 CONFIG_CMD_SF=y
+CONFIG_CMD_TIME=y
Signature · 1 line
2.9.2
#4 lore raw

PATCH 4/5 configs: dra7xx: Enable CMD_TIME

In reply to Lokesh Vutla

Enable CONFIG_CMD_TIME for all dra7xx platforms

---
 configs/dra7xx_evm_defconfig    | 1 +
 configs/dra7xx_hs_evm_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/dra7xx_evm_defconfig +1 -0
index 81d2a0e..b6df7ae 100644
@@ -59,3 +59,4 @@ CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_LIST="dra7-evm dra72-evm"
 CONFIG_DM_I2C=y
 CONFIG_PCF8575_GPIO=y
+CONFIG_CMD_TIME=y
configs/dra7xx_hs_evm_defconfig +1 -0
index ab68b1c..2848094 100644
@@ -62,3 +62,4 @@ CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_OF_LIST="dra7-evm dra72-evm"
 CONFIG_DM_I2C=y
 CONFIG_PCF8575_GPIO=y
+CONFIG_CMD_TIME=y
Signature · 1 line
2.9.2
#5 lore raw

PATCH 5/5 configs: ks2: Enable CMD_TIME

In reply to Lokesh Vutla

Enable CMD_TIME on all keystone2 platforms

---
 configs/k2e_evm_defconfig  | 1 +
 configs/k2g_evm_defconfig  | 1 +
 configs/k2hk_evm_defconfig | 1 +
 configs/k2l_evm_defconfig  | 1 +
 4 files changed, 4 insertions(+)
configs/k2e_evm_defconfig +1 -0
index 04c52f0..155e567 100644
@@ -39,3 +39,4 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_LIB_RAND=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_CMD_TIME=y
configs/k2g_evm_defconfig +1 -0
index 5d44e8d..d412f52 100644
@@ -39,3 +39,4 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_BAR=y
+CONFIG_CMD_TIME=y
configs/k2hk_evm_defconfig +1 -0
index c050f07..bc41392 100644
@@ -39,3 +39,4 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_LIB_RAND=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_CMD_TIME=y
configs/k2l_evm_defconfig +1 -0
index e1386f7..6eb0141 100644
@@ -39,3 +39,4 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_LIB_RAND=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_CMD_TIME=y
Signature · 1 line
2.9.2
#6 lore raw

cover ARM: Enable CMD_TIME on all TI platforms

In reply to Lokesh Vutla
Quoted 21 lines · Lokesh Vutla

This series enables CMD_TIME on all TI platforms.

Lokesh Vutla (5):
configs: am335x: Enable CMD_TIME
configs: am43xx: Enable CMD_TIME
configs: am57xx: Enable CMD_TIME
configs: dra7xx: Enable CMD_TIME
configs: ks2: Enable CMD_TIME

 configs/am335x_boneblack_defconfig        | 1 +
 configs/am335x_evm_defconfig              | 1 +
 configs/am335x_evm_nor_defconfig          | 1 +
 configs/am335x_evm_norboot_defconfig      | 1 +
 configs/am335x_evm_spiboot_defconfig      | 1 +
 configs/am335x_evm_usbspl_defconfig       | 1 +
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_qspiboot_defconfig     | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/am43xx_hs_evm_defconfig           | 1 +
 configs/am57xx_evm_defconfig              | 1 +
Quoted 8 lines
 configs/am57xx_hs_evm_defconfig           | 1 +
 configs/dra7xx_evm_defconfig              | 1 +
 configs/dra7xx_hs_evm_defconfig           | 1 +
 configs/k2e_evm_defconfig                 | 1 +
 configs/k2g_evm_defconfig                 | 1 +
 configs/k2hk_evm_defconfig                | 1 +
 configs/k2l_evm_defconfig                 | 1 +
 19 files changed, 19 insertions(+)

This would have been a 1 line change to include/configs/ti_armv7_common.h and is now 19 files and 19 lines, so a step backwards. Further, this isn't a SoC thing, it's a TI eval platform consistency (and I imagine testing) thing. I think it's time to look at adding in board/ti/Kconfig (and other vendors too given the existing include/configs/*common* files) for style things that don't belong in arch/arm/cpu/armv7/omap-common/Kconfig (which needs to get moved to arch/arm/mach-omap to match other platforms, yes) in this case.

The first patch to introduce board/ti/Kconfig will be "big" as the board/ti/*/Kconfig will need to bring it in but follow up migration of stuff out of include/configs/ti_*common.h will be smaller.

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/20160811/03dd7436/attachment.sig>
#7 lore raw

cover ARM: Enable CMD_TIME on all TI platforms

Quoted 32 lines · Tom Rini
Quoted 21 lines · Lokesh Vutla

This series enables CMD_TIME on all TI platforms.

Lokesh Vutla (5):
configs: am335x: Enable CMD_TIME
configs: am43xx: Enable CMD_TIME
configs: am57xx: Enable CMD_TIME
configs: dra7xx: Enable CMD_TIME
configs: ks2: Enable CMD_TIME

 configs/am335x_boneblack_defconfig        | 1 +
 configs/am335x_evm_defconfig              | 1 +
 configs/am335x_evm_nor_defconfig          | 1 +
 configs/am335x_evm_norboot_defconfig      | 1 +
 configs/am335x_evm_spiboot_defconfig      | 1 +
 configs/am335x_evm_usbspl_defconfig       | 1 +
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_qspiboot_defconfig     | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/am43xx_hs_evm_defconfig           | 1 +
 configs/am57xx_evm_defconfig              | 1 +
Quoted 8 lines
 configs/am57xx_hs_evm_defconfig           | 1 +
 configs/dra7xx_evm_defconfig              | 1 +
 configs/dra7xx_hs_evm_defconfig           | 1 +
 configs/k2e_evm_defconfig                 | 1 +
 configs/k2g_evm_defconfig                 | 1 +
 configs/k2hk_evm_defconfig                | 1 +
 configs/k2l_evm_defconfig                 | 1 +
 19 files changed, 19 insertions(+)
Quoted 2 lines

This would have been a 1 line change to include/configs/ti_armv7_common.h and is now 19 files and 19 lines, so a

IIRC, this solution was rejected as CMD_TIME has Kconfig and has to be enabled in defconfig.

Quoted 10 lines

step backwards. Further, this isn't a SoC thing, it's a TI eval platform consistency (and I imagine testing) thing. I think it's time to look at adding in board/ti/Kconfig (and other vendors too given the existing include/configs/*common* files) for style things that don't belong in arch/arm/cpu/armv7/omap-common/Kconfig (which needs to get moved to arch/arm/mach-omap to match other platforms, yes) in this case.

The first patch to introduce board/ti/Kconfig will be "big" as the board/ti/*/Kconfig will need to bring it in but follow up migration of stuff out of include/configs/ti_*common.h will be smaller.

Okay, ill work on this.

Thanks and regards,
Lokesh

Quoted 3 lines

Thanks!