Skip to contentSkip to conversation

configs: Fixup some CPSW-related items

PATCH In review Tom Rini 2 participants 3 messages Apr 10, 2018 – Apr 13, 2018

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 configs: Fixup some CPSW-related items

- For am335x_pdu001 we do not want the CPSW driver, drop it
- Re-sync the defconfig for am43xx_evm_rtconly as it came in after the patch that converted CPSW to Kconfig was posted but before it was applied.
- Drop empty section / comments from pengwyn
- Drop empty section / comments from baltos and drop unused CONFIG_SPL_NET_VCI_STRING (it does not enable CONFIG_SPL_NET_SUPPORT currently and SPL_NET_VCI_STRING has been migrated already).

Cc Felix Brack <[email protected]>
Cc Lokesh Vutla <[email protected]>
Cc Yegor Yefremov <[email protected]>
Cc Lothar Felten <[email protected]>
Fixes f02b8d17619f ("Migrate CONFIG_DRIVER_TI_CPSW to Kconfig")
---
 configs/am335x_pdu001_defconfig      |  1 -
 configs/am43xx_evm_rtconly_defconfig |  2 +-
 include/configs/baltos.h             | 13 -------------
 include/configs/pengwyn.h            |  7 -------
 4 files changed, 1 insertion(+), 22 deletions(-)
configs/am335x_pdu001_defconfig +0 -1
index 87ae88ca6173..a9d0f8e01678 100644
@@ -39,7 +39,6 @@ CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_MMC_SDHCI=y
-CONFIG_DRIVER_TI_CPSW=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_DM_PMIC=y
configs/am43xx_evm_rtconly_defconfig +1 -1
index f37ceb064be3..339a1c6fc393 100644
@@ -37,7 +37,7 @@ CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
-CONFIG_PHYLIB=y
+CONFIG_DRIVER_TI_CPSW=y
 CONFIG_PHY_GIGE=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
include/configs/baltos.h +0 -13
index 19db35052e9e..03559bd4f5f6 100644
@@ -229,11 +229,6 @@
 /* SPL */
 #ifndef CONFIG_NOR_BOOT
 
-/* USB gadget RNDIS */
-
-/* General network SPL, both CPSW and USB gadget RNDIS */
-#define CONFIG_SPL_NET_VCI_STRING	"AM335x U-Boot SPL"*/
-
 #ifdef CONFIG_NAND
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \
@@ -271,14 +266,6 @@
 #define CONFIG_AM335X_USB1
 #define CONFIG_AM335X_USB1_MODE MUSB_OTG
 
-#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USB_ETHER)
-/* disable host part of MUSB in SPL */
-/* disable EFI partitions and partition UUID support */
-/*
- * Disable CPSW SPL support so we fit within the 101KiB limit.
- */
-#endif
-
 /* Network. */
 #define CONFIG_PHY_SMSC
 #define CONFIG_MII
include/configs/pengwyn.h +0 -7
index 545f859e8587..863b6e7eb451 100644
@@ -165,16 +165,9 @@
 #define CONFIG_AM335X_USB1
 #define CONFIG_AM335X_USB1_MODE MUSB_HOST
 
-#if defined(CONFIG_SPL_BUILD)
-/* disable host part of MUSB in SPL */
-/* Disable CPSW SPL support so we fit within the 101KiB limit. */
-#endif
-
 /* Network */
 #define CONFIG_PHY_RESET	1
 #define CONFIG_PHY_NATSEMI
 #define CONFIG_PHY_REALTEK
 
-/* CPSW support */
-
 #endif	/* ! __CONFIG_PENGWYN_H */
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 configs: Fixup some CPSW-related items

Quoted 15 lines · Tom Rini

- For am335x_pdu001 we do not want the CPSW driver, drop it
- Re-sync the defconfig for am43xx_evm_rtconly as it came in after the patch that converted CPSW to Kconfig was posted but before it was applied.
- Drop empty section / comments from pengwyn
- Drop empty section / comments from baltos and drop unused CONFIG_SPL_NET_VCI_STRING (it does not enable CONFIG_SPL_NET_SUPPORT currently and SPL_NET_VCI_STRING has been migrated already).

Cc Felix Brack <[email protected]>
Cc Lokesh Vutla <[email protected]>
Cc Yegor Yefremov <[email protected]>
Cc Lothar Felten <[email protected]>
Fixes f02b8d17619f ("Migrate CONFIG_DRIVER_TI_CPSW to Kconfig")
Quoted 7 lines
---
 configs/am335x_pdu001_defconfig      |  1 -
 configs/am43xx_evm_rtconly_defconfig |  2 +-
 include/configs/baltos.h             | 13 -------------
 include/configs/pengwyn.h            |  7 -------
 4 files changed, 1 insertion(+), 22 deletions(-)

and for the PDU001 board related part

author
#2 lore raw
In reply to Tom Rini
Quoted 9 lines · Tom Rini

- For am335x_pdu001 we do not want the CPSW driver, drop it
- Re-sync the defconfig for am43xx_evm_rtconly as it came in after the patch that converted CPSW to Kconfig was posted but before it was applied.
- Drop empty section / comments from pengwyn
- Drop empty section / comments from baltos and drop unused CONFIG_SPL_NET_VCI_STRING (it does not enable CONFIG_SPL_NET_SUPPORT currently and SPL_NET_VCI_STRING has been migrated already).

Quoted 8 lines
Cc Felix Brack <[email protected]>
Cc Lokesh Vutla <[email protected]>
Cc Yegor Yefremov <[email protected]>
Cc Lothar Felten <[email protected]>
Fixes f02b8d17619f ("Migrate CONFIG_DRIVER_TI_CPSW to Kconfig")

Applied to u-boot/master, thanks!

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