Convert CONFIG_SPL_NET_SUPPORT to Kconfig
authorSimon Glass <sjg@chromium.org>
Tue, 13 Sep 2016 05:18:50 +0000 (23:18 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2016 21:27:15 +0000 (17:27 -0400)
Move this option to Kconfig and tidy up existing uses.

Signed-off-by: Simon Glass <sjg@chromium.org>
19 files changed:
configs/am335x_evm_usbspl_defconfig
configs/am43xx_evm_ethboot_defconfig
configs/pcm051_rev1_defconfig
configs/pcm051_rev3_defconfig
configs/pengwyn_defconfig
include/configs/am335x_evm.h
include/configs/am335x_shc.h
include/configs/am335x_sl50.h
include/configs/am43xx_evm.h
include/configs/baltos.h
include/configs/bav335x.h
include/configs/draco.h
include/configs/etamin.h
include/configs/pcm051.h
include/configs/pengwyn.h
include/configs/pxm2.h
include/configs/rastaban.h
include/configs/rut.h
include/configs/thuban.h

index e029717784a4e18bf6789910fd4ad1256c1fca31..c81938417f94bf1fdf9fa35e0118178fe4ea3a16 100644 (file)
@@ -9,6 +9,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_SPL_NET_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
index 4459e77f4ae5e158904ab4dcda5b7450e4f46fb1..86c9a5b69b83e5d4e0aca397bfee22ba147d8df4 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_SPL=y
 CONFIG_SPL_ETH_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 249cccb8eca650a4bcb575607fbdcee86519332f..a187e07544ae69e4b99120198cf276c8a1caf1bc 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_ETH_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"
+CONFIG_SPL_NET_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
index b8b391dea3b392212257852de40ff66a815e1053..e2a7549ad5f508bc0b08d000011731e5011f87e5 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_ETH_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"
+CONFIG_SPL_NET_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
index 88c5a2bbd20c6d1163b16e98cc0d496ffea2c2fa..02b44fc5b6ed37128aa7a303063a8080206f47bd 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_SPL=y
 CONFIG_SPL_ETH_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 28fcbaed81bfe4fd26952445e3131201e0115e22..4431288fdedc535d2fdd95b4a9ff51d3600e52be 100644 (file)
 /* disable EFI partitions and partition UUID support */
 #undef CONFIG_PARTITION_UUIDS
 #undef CONFIG_EFI_PARTITION
-/* General network SPL  */
-#define CONFIG_SPL_NET_SUPPORT
 #endif
 
 /* USB Device Firmware Update support */
index 01e491a3892e7185038fa6283e5b7f2709c09220..2762d533238dce00ad6410c64ad63276402265e3 100644 (file)
 
 #if defined CONFIG_SHC_NETBOOT
 #ifdef CONFIG_SPL_BUILD
-#define CONFIG_SPL_NET_SUPPORT
 #define CONFIG_ENV_IS_NOWHERE
 #undef CONFIG_ENV_IS_IN_MMC
 #endif
index 8bd91367a0226117a3dcb5696e53531680d17b45..80140e7f27bb72482bbfbaeee1dfef0bb2629eb2 100644 (file)
 /* disable EFI partitions and partition UUID support */
 #undef CONFIG_PARTITION_UUIDS
 #undef CONFIG_EFI_PARTITION
-/* General network SPL  */
-#define CONFIG_SPL_NET_SUPPORT
 #endif
 
 #if defined(CONFIG_EMMC_BOOT)
index 0128e1f2e37512eda80ff94fa3f76100a2b9bc4f..67c3899de961e2f0527d388e74212da6735c5042 100644 (file)
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_ETH_SUPPORT)
 #undef CONFIG_ENV_IS_IN_FAT
 #define CONFIG_ENV_IS_NOWHERE
-#define CONFIG_SPL_NET_SUPPORT
 #endif
 
 #define CONFIG_SYS_RX_ETH_BUFFER       64
index 0c0586453726ef90a1731593df6fc1720ac79287..3bce7a2c8748b6d844cbbbf70e92791610fb5b9f 100644 (file)
 /* USB gadget RNDIS */
 
 /* General network SPL, both CPSW and USB gadget RNDIS */
-/*#define CONFIG_SPL_NET_SUPPORT
 #define CONFIG_SPL_NET_VCI_STRING      "AM335x U-Boot SPL"*/
 
 #define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
index cfafc081643794178e6ca220c610a1318ff9c0f1..0a2ad5243eb6fabd826886da90845a2ada63a74c 100644 (file)
@@ -464,8 +464,6 @@ DEFAULT_LINUX_BOOT_ENV \
 /* disable EFI partitions and partition UUID support */
 #undef CONFIG_PARTITION_UUIDS
 #undef CONFIG_EFI_PARTITION
-/* General network SPL  */
-#define CONFIG_SPL_NET_SUPPORT
 #endif
 
 /* USB Device Firmware Update support */
index 302e1899abe540ef359cd4530a9060241795db05..04240c789949ff6d19bb151efba99e2960274d75 100644 (file)
@@ -48,8 +48,6 @@
 
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x300
 
-#undef CONFIG_SPL_NET_SUPPORT
-
 #undef CONFIG_MII
 #undef CONFIG_PHY_GIGE
 #define CONFIG_PHY_SMSC
index f8eaf9b3268e4141ea7fe5fac24325f6ee99f1db..fda18b206dcc1745d6455d683314f6a5169d1fec 100644 (file)
 
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x300
 
-#undef CONFIG_SPL_NET_SUPPORT
-
 #undef CONFIG_MII
 #undef CONFIG_PHY_GIGE
 #define CONFIG_PHY_SMSC
index 1f56f97eb36aa4bce92ecbecc57511aab16e91d7..80df3538ed7438df5d900b0a37ba1c4454a4f692 100644 (file)
 #define CONFIG_ENV_IS_NOWHERE
 
 #define CONFIG_SPL_YMODEM_SUPPORT
-#define CONFIG_SPL_NET_SUPPORT
 #define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
 
 #ifdef CONFIG_SPI_BOOT
index a2f6dab294d4594162a3075ccef12fe81c91d9a3..40f96401d26267362f161b84b129cf7fccc76bbc 100644 (file)
 #define CONFIG_SPL_POWER_SUPPORT
 #define CONFIG_SPL_YMODEM_SUPPORT
 
-/* General network SPL */
-#define CONFIG_SPL_NET_SUPPORT
-
 /* NAND support */
 #define CONFIG_CMD_NAND
 #define CONFIG_NAND_OMAP_GPMC
index 03d7b9dfc2f32bbaf3a0800045d40d93b3bc03b4..99a201c4035e37eae887c680e3f1300a1cdd6423 100644 (file)
@@ -42,8 +42,6 @@
 
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x300
 
-#undef CONFIG_SPL_NET_SUPPORT
-
 #define CONFIG_PHY_ATHEROS
 
 #define CONFIG_FACTORYSET
index 5e7f1eb65141b5223ec5509043d82c97640a2332..f8ed22a4366380342fd52dc5b673bbd5e9e19990 100644 (file)
@@ -51,8 +51,6 @@
 
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x300
 
-#undef CONFIG_SPL_NET_SUPPORT
-
 #undef CONFIG_MII
 #undef CONFIG_PHY_GIGE
 #define CONFIG_PHY_SMSC
index ed1315fba764dd24617a34b00cc0afa1c6c5419f..5f62358507212d6d76388aabe6517d687361ae79 100644 (file)
@@ -37,8 +37,6 @@
 
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x200
 
-#undef CONFIG_SPL_NET_SUPPORT
-
 #define CONFIG_PHY_NATSEMI
 
 #define CONFIG_FACTORYSET
index b9c687a16491acaa840dc3b3337e5549bb8c6c91..8d7b280f564a817a429c4bbabfb2419aa6afbf86 100644 (file)
@@ -44,8 +44,6 @@
 
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x300
 
-#undef CONFIG_SPL_NET_SUPPORT
-
 #undef CONFIG_MII
 #undef CONFIG_PHY_GIGE
 #define CONFIG_PHY_SMSC