diff --git a/README b/README index 242287ca9b930c6a33a8bd9b523b8b48d22da856..f28817622820eace9a7d6c95c7e372aaa3033ab1 100644 --- a/README +++ b/README @@ -1028,21 +1028,6 @@ The following options need to be configured: control registers. This behavior won't affect the correctnessof 10/100 link speed update. - CONFIG_SMC911X - Support for SMSC's LAN911x and LAN921x chips - - CONFIG_SMC911X_BASE - Define this to hold the physical address - of the device (I/O space) - - CONFIG_SMC911X_32_BIT - Define this if data bus is 32 bits - - CONFIG_SMC911X_16_BIT - Define this if data bus is 16 bits. If your processor - automatically converts one 32 bit word to two 16 bit - words you may also try CONFIG_SMC911X_32_BIT. - CONFIG_SH_ETHER Support for Renesas on-chip Ethernet controller diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c index be938eb2cf50b30eca232591efa418f9d1fee501..d5cfba4270773a792cc705c4ea58ee04d4b294fc 100644 --- a/board/compulab/cm_t35/cm_t35.c +++ b/board/compulab/cm_t35/cm_t35.c @@ -452,6 +452,7 @@ static int handle_mac_address(void) * Routine: board_eth_init * Description: initialize module and base-board Ethernet chips */ +#define SB_T35_SMC911X_BASE (CONFIG_SMC911X_BASE + SZ_16M) int board_eth_init(bd_t *bis) { int rc = 0, rc1 = 0; @@ -460,7 +461,7 @@ int board_eth_init(bd_t *bis) if (rc1) printf("No MAC address found! "); - rc1 = cl_omap3_smc911x_init(0, 5, CM_T3X_SMC911X_BASE, + rc1 = cl_omap3_smc911x_init(0, 5, CONFIG_SMC911X_BASE, cm_t3x_reset_net_chip, -EINVAL); if (rc1 > 0) rc++; diff --git a/configs/ap325rxa_defconfig b/configs/ap325rxa_defconfig index 28443e2aa39fc4a701e74d47a690164e273de051..3f12093ef3b03aa46b6d2a82ab1d46ed7f143f3e 100644 --- a/configs/ap325rxa_defconfig +++ b/configs/ap325rxa_defconfig @@ -25,6 +25,10 @@ CONFIG_CMD_EXT2=y CONFIG_DOS_PARTITION=y CONFIG_ENV_IS_IN_FLASH=y CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0xB6080000 +CONFIG_SMC911X_32_BIT=y CONFIG_BAUDRATE=38400 CONFIG_SCIF_CONSOLE=y CONFIG_USE_PRIVATE_LIBGCC=y diff --git a/configs/arndale_defconfig b/configs/arndale_defconfig index f25fe7bf7d6c1a21274ff26ee0cd7b817a9a8637..708f06373e1557d500623e67db5b760688783a46 100644 --- a/configs/arndale_defconfig +++ b/configs/arndale_defconfig @@ -25,6 +25,9 @@ CONFIG_DM_I2C_COMPAT=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_S5P=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_SOUND=y CONFIG_I2S=y CONFIG_I2S_SAMSUNG=y diff --git a/configs/blanche_defconfig b/configs/blanche_defconfig index d0779285e579c08f661c89a5b2179eb37698036a..500ebc6983c9aa54f4c6b025d48fcdd0987a8496 100644 --- a/configs/blanche_defconfig +++ b/configs/blanche_defconfig @@ -20,5 +20,8 @@ CONFIG_MTD_NOR_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x18000000 CONFIG_BAUDRATE=38400 CONFIG_SCIF_CONSOLE=y diff --git a/configs/cm_t3517_defconfig b/configs/cm_t3517_defconfig index 8e7c07206b47752ae5a550082d40eab03bc3bc29..dc0ded82695014aa4d8026d2b1aecefb1649f9c6 100644 --- a/configs/cm_t3517_defconfig +++ b/configs/cm_t3517_defconfig @@ -38,6 +38,10 @@ CONFIG_LED_STATUS_BOOT_ENABLE=y CONFIG_LED_STATUS_BOOT=0 CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x2D000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y diff --git a/configs/cm_t35_defconfig b/configs/cm_t35_defconfig index 1515c9253c901d14da1c5bf086cc132f17d66341..90950d42473cadda28d8b9d5c617f22da8e594c5 100644 --- a/configs/cm_t35_defconfig +++ b/configs/cm_t35_defconfig @@ -40,6 +40,10 @@ CONFIG_LED_STATUS_BOOT=0 CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPL_NAND_SIMPLE=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x2C000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y @@ -47,3 +51,4 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_STORAGE=y CONFIG_LCD=y CONFIG_OF_LIBFDT=y +CONFIG_NETDEVICES=y diff --git a/configs/duovero_defconfig b/configs/duovero_defconfig index feec2cfb1ad8b20176ab467d3ec698271517de36..b76da3e95afb37eff20a7f8244e3bdd0edcc023c 100644 --- a/configs/duovero_defconfig +++ b/configs/duovero_defconfig @@ -23,6 +23,10 @@ CONFIG_CMD_EXT4_WRITE=y # CONFIG_SPL_EFI_PARTITION is not set CONFIG_SPL_PARTITION_UUIDS=y CONFIG_MMC_OMAP_HS=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x2C000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig index b99b6dbe4283f04d66e7969dfec8856d36daaaea..052103945384bdb03d4036a916178c86b13f8187 100644 --- a/configs/igep0032_defconfig +++ b/configs/igep0032_defconfig @@ -32,6 +32,10 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y CONFIG_SPL_NAND_SIMPLE=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x2C000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y diff --git a/configs/igep00x0_defconfig b/configs/igep00x0_defconfig index 0e2ab723c2d27ed5a99f1757ea11f7d932b21d6e..a2f29ccfd4089145c0ad5ca8c3c38a6d27d06d88 100644 --- a/configs/igep00x0_defconfig +++ b/configs/igep00x0_defconfig @@ -33,6 +33,10 @@ CONFIG_NAND=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y CONFIG_SPL_NAND_SIMPLE=y CONFIG_MTD_UBI_FASTMAP=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x2C000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y diff --git a/configs/imx31_phycore_defconfig b/configs/imx31_phycore_defconfig index 7b17b663a49f22d5163f4be413aab894cd6d57f6..6be99131348ba4bb37981b82b4bba8705c1d9d42 100644 --- a/configs/imx31_phycore_defconfig +++ b/configs/imx31_phycore_defconfig @@ -10,3 +10,7 @@ CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_EEPROM=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0xa8000000 +CONFIG_SMC911X_32_BIT=y diff --git a/configs/imx31_phycore_eet_defconfig b/configs/imx31_phycore_eet_defconfig index b67dcd3d0af1f340ab93a8d0fdcd0ba1171e5805..a8f57ef6cd7e53361bc7c3b6e1593c8c19d1e16d 100644 --- a/configs/imx31_phycore_eet_defconfig +++ b/configs/imx31_phycore_eet_defconfig @@ -14,3 +14,7 @@ CONFIG_CMD_BMP=y CONFIG_ENV_IS_IN_EEPROM=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0xa8000000 +CONFIG_SMC911X_32_BIT=y diff --git a/configs/kzm9g_defconfig b/configs/kzm9g_defconfig index f4b8ccdf2fa6830df2ba855341f6878cc2724251..6271aa092511a1ae1e97be48ea4b7f05dabe1193 100644 --- a/configs/kzm9g_defconfig +++ b/configs/kzm9g_defconfig @@ -17,6 +17,10 @@ CONFIG_CMD_FAT=y CONFIG_ENV_IS_IN_FLASH=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x10000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SCIF_CONSOLE=y # CONFIG_FAT_WRITE is not set CONFIG_OF_LIBFDT=y diff --git a/configs/mx31pdk_defconfig b/configs/mx31pdk_defconfig index 3fcc0c0b5a05c97e74e930779042196061826dc1..0884caf050508d45b447264715d60e6db004b54c 100644 --- a/configs/mx31pdk_defconfig +++ b/configs/mx31pdk_defconfig @@ -18,3 +18,7 @@ CONFIG_ENV_IS_IN_NAND=y # CONFIG_MMC is not set CONFIG_NAND=y CONFIG_NAND_MXC=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0xB6000000 +CONFIG_SMC911X_32_BIT=y diff --git a/configs/mx35pdk_defconfig b/configs/mx35pdk_defconfig index 2c3455f7e68283404e0c9b20cd5d148faf00c21f..d4a567cc13d26817439111ed85c044d296c5b3d0 100644 --- a/configs/mx35pdk_defconfig +++ b/configs/mx35pdk_defconfig @@ -25,6 +25,9 @@ CONFIG_ENV_IS_IN_FLASH=y CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y CONFIG_NAND_MXC=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0xB6000000 CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_STORAGE=y diff --git a/configs/mx53ard_defconfig b/configs/mx53ard_defconfig index 1d8e5bc7fe9a4c975596eacd7b7914165cded81a..804e4cfedf0e24a980910fce0dbd2358a5ad4fae 100644 --- a/configs/mx53ard_defconfig +++ b/configs/mx53ard_defconfig @@ -16,4 +16,7 @@ CONFIG_CMD_FAT=y CONFIG_ENV_IS_IN_MMC=y CONFIG_NAND=y CONFIG_NAND_MXC=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0xF4000000 CONFIG_OF_LIBFDT=y diff --git a/configs/odroid-xu3_defconfig b/configs/odroid-xu3_defconfig index 5481188e64107613a8e81b270829e3fa0d35ac29..76b1d35b2aafad12ba23f6b8b7e47ab3c4080177 100644 --- a/configs/odroid-xu3_defconfig +++ b/configs/odroid-xu3_defconfig @@ -29,6 +29,9 @@ CONFIG_DFU_MMC=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_S5P=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_DM_PMIC=y CONFIG_PMIC_S2MPS11=y CONFIG_DM_REGULATOR=y diff --git a/configs/omap3_evm_defconfig b/configs/omap3_evm_defconfig index 55b1e8d46a873b962ad676d26a723931eb7255f4..5103e9fd8d5a6490be7d23b901b60f5d8294c4b9 100644 --- a/configs/omap3_evm_defconfig +++ b/configs/omap3_evm_defconfig @@ -44,6 +44,10 @@ CONFIG_MTD=y CONFIG_NAND=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y CONFIG_SPL_NAND_SIMPLE=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x2C000000 +CONFIG_SMC911X_32_BIT=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig index cdbebf802634b4cb90c2fc26b1ec97ff82a3ccb9..fc3c6fead99d50c072abdb96e2d6cb2b3ed51c30 100644 --- a/configs/omap3_logic_defconfig +++ b/configs/omap3_logic_defconfig @@ -37,6 +37,10 @@ CONFIG_SYS_NAND_BUSWIDTH_16BIT=y CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000 CONFIG_SPL_NAND_SIMPLE=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x08000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig index 237d5bdd118fb8f600b94276b169eb5aef0e2e1c..389e72ab23eb5e5f4519bee92f3650a3e7d846d7 100644 --- a/configs/omap3_overo_defconfig +++ b/configs/omap3_overo_defconfig @@ -43,6 +43,10 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y CONFIG_SPL_NAND_SIMPLE=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x2C000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y @@ -51,3 +55,4 @@ CONFIG_USB_STORAGE=y CONFIG_FAT_WRITE=y CONFIG_BCH=y CONFIG_OF_LIBFDT=y +CONFIG_NETDEVICES=y diff --git a/configs/omap3_zoom1_defconfig b/configs/omap3_zoom1_defconfig index 3afd7e9722d6d568c32315fbc14b7f7be291f5a9..bedbbd3221112e13aa42498e70894b120e26a003 100644 --- a/configs/omap3_zoom1_defconfig +++ b/configs/omap3_zoom1_defconfig @@ -33,6 +33,10 @@ CONFIG_ENV_IS_IN_NAND=y CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x08000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y diff --git a/configs/peach-pi_defconfig b/configs/peach-pi_defconfig index 6900f3d77ffa0e502669f78829639f1b1b0ad061..26b31099e7583dcc36b5de5d096b0bf44fd106ce 100644 --- a/configs/peach-pi_defconfig +++ b/configs/peach-pi_defconfig @@ -38,6 +38,9 @@ CONFIG_MMC_SDHCI_S5P=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_SPI_FLASH_WINBOND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_DM_PMIC=y CONFIG_PMIC_TPS65090=y CONFIG_DM_REGULATOR=y diff --git a/configs/peach-pit_defconfig b/configs/peach-pit_defconfig index b073d820a3f5502b0a0085ad59b94e6d7e831e4a..daa263ed0649973e32f76548e4a52bb061dd8215 100644 --- a/configs/peach-pit_defconfig +++ b/configs/peach-pit_defconfig @@ -38,6 +38,9 @@ CONFIG_MMC_SDHCI_S5P=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_SPI_FLASH_WINBOND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_DM_PMIC=y CONFIG_PMIC_TPS65090=y CONFIG_DM_REGULATOR=y diff --git a/configs/smdk5250_defconfig b/configs/smdk5250_defconfig index 57870e5a9f95fc78dd3e8d8f8d62c565dafea405..b6c8d4ce468bc8e750d12132e7055158a30d8c1b 100644 --- a/configs/smdk5250_defconfig +++ b/configs/smdk5250_defconfig @@ -34,6 +34,9 @@ CONFIG_MMC_SDHCI_S5P=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_SPI_FLASH_WINBOND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_DM_PMIC=y CONFIG_DM_PMIC_MAX77686=y CONFIG_DM_REGULATOR=y diff --git a/configs/smdk5420_defconfig b/configs/smdk5420_defconfig index 75b8c00e28e9c39cb5a65a4325bc5ef3039630cb..5742d16823741187c0a1c12837c727d8cedbcf4f 100644 --- a/configs/smdk5420_defconfig +++ b/configs/smdk5420_defconfig @@ -29,6 +29,9 @@ CONFIG_MMC_SDHCI_S5P=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_SPI_FLASH_WINBOND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_DM_PMIC=y CONFIG_DM_REGULATOR=y CONFIG_EXYNOS_SPI=y diff --git a/configs/smdkc100_defconfig b/configs/smdkc100_defconfig index eef4aee919699c729b3fbc4467e621e6a6391c0b..221464074d3275aa09e60142e32d862533d32f89 100644 --- a/configs/smdkc100_defconfig +++ b/configs/smdkc100_defconfig @@ -16,3 +16,6 @@ CONFIG_CMD_FAT=y CONFIG_CMD_MTDPARTS=y CONFIG_ENV_IS_IN_ONENAND=y # CONFIG_MMC is not set +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x98800300 diff --git a/configs/smdkv310_defconfig b/configs/smdkv310_defconfig index 31a5e99a40afda782548446b097b7bf45a6d4539..7cbdd4dd072dc612ff9728ae8d24e91ffcf17c45 100644 --- a/configs/smdkv310_defconfig +++ b/configs/smdkv310_defconfig @@ -28,5 +28,8 @@ CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_SDMA=y CONFIG_MMC_SDHCI_S5P=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_USB=y CONFIG_DM_USB=y diff --git a/configs/snow_defconfig b/configs/snow_defconfig index 66255ad4923aa22bb9fbeda71d43488144bfb8c3..72fd8c219297b71a427b9a7deaa822c6157ca380 100644 --- a/configs/snow_defconfig +++ b/configs/snow_defconfig @@ -42,6 +42,9 @@ CONFIG_MMC_SDHCI_S5P=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_SPI_FLASH_WINBOND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_DM_PMIC=y CONFIG_DM_PMIC_MAX77686=y CONFIG_PMIC_S5M8767=y diff --git a/configs/spring_defconfig b/configs/spring_defconfig index b5db3833cda595185e8704d535e16f99f1ef9238..4eed491d1dbfc796f41c6d6928881b6924e0083d 100644 --- a/configs/spring_defconfig +++ b/configs/spring_defconfig @@ -42,6 +42,9 @@ CONFIG_MMC_SDHCI_S5P=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_SPI_FLASH_WINBOND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x5000000 CONFIG_DM_PMIC=y CONFIG_DM_PMIC_MAX77686=y CONFIG_PMIC_S5M8767=y diff --git a/configs/twister_defconfig b/configs/twister_defconfig index ed463f5d322b62775d4a3633ed2a221c68b685fa..90b2fde91fe8e55000f6863129a90a3555c377ff 100644 --- a/configs/twister_defconfig +++ b/configs/twister_defconfig @@ -34,6 +34,9 @@ CONFIG_NAND=y CONFIG_NAND_OMAP_GPMC_PREFETCH=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y CONFIG_SPL_NAND_SIMPLE=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x2C000000 CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y diff --git a/configs/uniphier_ld4_sld8_defconfig b/configs/uniphier_ld4_sld8_defconfig index cd0efe371b48939595e2e4366d2aa90625b2c9e0..74c52ddd82226c68cb19801aa1b6cd300d999ab0 100644 --- a/configs/uniphier_ld4_sld8_defconfig +++ b/configs/uniphier_ld4_sld8_defconfig @@ -44,6 +44,9 @@ CONFIG_NAND_DENALI_DT=y CONFIG_SYS_NAND_DENALI_64BIT=y CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8 CONFIG_SPL_NAND_DENALI=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_32_BIT=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y diff --git a/configs/uniphier_v7_defconfig b/configs/uniphier_v7_defconfig index 7f2347a2f549dc65b4270d22e60939c6b8050f53..5c1d3436912ecbbb6233402bf4689d88b75f389a 100644 --- a/configs/uniphier_v7_defconfig +++ b/configs/uniphier_v7_defconfig @@ -43,6 +43,10 @@ CONFIG_NAND_DENALI_DT=y CONFIG_SYS_NAND_DENALI_64BIT=y CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8 CONFIG_SPL_NAND_DENALI=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x0 +CONFIG_SMC911X_32_BIT=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_EHCI_HCD=y diff --git a/configs/uniphier_v8_defconfig b/configs/uniphier_v8_defconfig index 31dd9b31cfa7c6eebb83d10e5f889cb4a63bcb25..bc4bbbfbdb1cdfca49f5bb3401751d551ffe1837 100644 --- a/configs/uniphier_v8_defconfig +++ b/configs/uniphier_v8_defconfig @@ -38,6 +38,10 @@ CONFIG_NAND_DENALI=y CONFIG_NAND_DENALI_DT=y CONFIG_SYS_NAND_DENALI_64BIT=y CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8 +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x0 +CONFIG_SMC911X_32_BIT=y CONFIG_SYSRESET=y CONFIG_SYSRESET_PSCI=y CONFIG_USB=y diff --git a/configs/vct_platinum_defconfig b/configs/vct_platinum_defconfig index 38b3e81ebc9328fa46b6e325ab2c2585c27e86f5..0abf81b96a9ef419a75db0cdd5b8b9a19425b36f 100644 --- a/configs/vct_platinum_defconfig +++ b/configs/vct_platinum_defconfig @@ -15,6 +15,10 @@ CONFIG_CMD_SNTP=y CONFIG_CMD_FAT=y CONFIG_ENV_IS_IN_FLASH=y CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x00000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y diff --git a/configs/vct_platinum_onenand_defconfig b/configs/vct_platinum_onenand_defconfig index 6b57ac51cc4cc4cf7a4000c2d3b6bc93a9b4b00b..9c41e3943c89205e8c9cb80ee4ece00b9f34a091 100644 --- a/configs/vct_platinum_onenand_defconfig +++ b/configs/vct_platinum_onenand_defconfig @@ -19,6 +19,10 @@ CONFIG_CMD_JFFS2=y CONFIG_CMD_UBI=y # CONFIG_CMD_UBIFS is not set CONFIG_ENV_IS_IN_ONENAND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x00000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y diff --git a/configs/vct_premium_defconfig b/configs/vct_premium_defconfig index d962fd12068e71eaa8c0435b8be4c874e07fbb26..c6219fa78bcec5eb7d2fcabe9039ccb802987a9b 100644 --- a/configs/vct_premium_defconfig +++ b/configs/vct_premium_defconfig @@ -15,6 +15,10 @@ CONFIG_CMD_SNTP=y CONFIG_CMD_FAT=y CONFIG_ENV_IS_IN_FLASH=y CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x00000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y diff --git a/configs/vct_premium_onenand_defconfig b/configs/vct_premium_onenand_defconfig index a55cb5b38588a85e098a7127831b8c739b648628..5cfbebf6773ba362511dc7207cad791fa017c15a 100644 --- a/configs/vct_premium_onenand_defconfig +++ b/configs/vct_premium_onenand_defconfig @@ -19,6 +19,10 @@ CONFIG_CMD_JFFS2=y CONFIG_CMD_UBI=y # CONFIG_CMD_UBIFS is not set CONFIG_ENV_IS_IN_ONENAND=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x00000000 +CONFIG_SMC911X_32_BIT=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y diff --git a/configs/vexpress_aemv8a_juno_defconfig b/configs/vexpress_aemv8a_juno_defconfig index 9c3ee73c0a6e86768147cea862bfb98b58ce03dc..b48e749e2865f01de2921d698e6de147039b86ba 100644 --- a/configs/vexpress_aemv8a_juno_defconfig +++ b/configs/vexpress_aemv8a_juno_defconfig @@ -28,5 +28,9 @@ CONFIG_ENV_IS_IN_FLASH=y CONFIG_DM=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x018000000 +CONFIG_SMC911X_32_BIT=y CONFIG_DM_SERIAL=y CONFIG_OF_LIBFDT=y diff --git a/configs/vexpress_ca15_tc2_defconfig b/configs/vexpress_ca15_tc2_defconfig index a0032ade5515295098bf6b6dc33c7a2972965ae8..9303f89bb46347d48d74a9157020a4f73f9497d6 100644 --- a/configs/vexpress_ca15_tc2_defconfig +++ b/configs/vexpress_ca15_tc2_defconfig @@ -19,5 +19,9 @@ CONFIG_CMD_MMC=y # CONFIG_CMD_MISC is not set CONFIG_ENV_IS_IN_FLASH=y CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x1a000000 +CONFIG_SMC911X_32_BIT=y CONFIG_BAUDRATE=38400 CONFIG_OF_LIBFDT=y diff --git a/configs/vexpress_ca5x2_defconfig b/configs/vexpress_ca5x2_defconfig index efa8c31ea69486ede8abd74fa72ad058441d6524..3f8bc9cc134782fe517d7723836d73cc61303626 100644 --- a/configs/vexpress_ca5x2_defconfig +++ b/configs/vexpress_ca5x2_defconfig @@ -18,5 +18,9 @@ CONFIG_CMD_MMC=y # CONFIG_CMD_MISC is not set CONFIG_ENV_IS_IN_FLASH=y CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x1a000000 +CONFIG_SMC911X_32_BIT=y CONFIG_BAUDRATE=38400 CONFIG_OF_LIBFDT=y diff --git a/configs/vexpress_ca9x4_defconfig b/configs/vexpress_ca9x4_defconfig index 4e7b9619976efe3033feae510cccfb7f99428baf..4cbc962373128da2dfdf6a309965ba9353e62c00 100644 --- a/configs/vexpress_ca9x4_defconfig +++ b/configs/vexpress_ca9x4_defconfig @@ -18,5 +18,9 @@ CONFIG_CMD_MMC=y # CONFIG_CMD_MISC is not set CONFIG_ENV_IS_IN_FLASH=y CONFIG_MTD_NOR_FLASH=y +CONFIG_NETDEVICES=y +CONFIG_SMC911X=y +CONFIG_SMC911X_BASE=0x4e000000 +CONFIG_SMC911X_32_BIT=y CONFIG_BAUDRATE=38400 CONFIG_OF_LIBFDT=y diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index d67927cd3b84272c50de254ece28bbec99bd7e70..c1ce54ecbbe7db2eecdc1f888acfeab4ddc0d947 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -211,6 +211,34 @@ config RTL8169 This driver supports Realtek 8169 series gigabit ethernet family of PCI/PCIe chipsets/adapters. +config SMC911X + bool "SMSC LAN911x and LAN921x controller driver" + +if SMC911X + +config SMC911X_BASE + hex "SMC911X Base Address" + help + Define this to hold the physical address + of the device (I/O space) + +choice + prompt "SMC911X bus width" + default SMC911X_16_BIT + +config SMC911X_32_BIT + bool "Enable 32-bit interface" + +config SMC911X_16_BIT + bool "Enable 16-bit interface" + help + Define this if data bus is 16 bits. If your processor + automatically converts one 32 bit word to two 16 bit + words you may also try CONFIG_SMC911X_32_BIT. + +endchoice +endif #SMC911X + config SUN7I_GMAC bool "Enable Allwinner GMAC Ethernet support" help diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h index 1140a70b5ead6ff4880ada9b5a7826f467f900f1..c09769dbed0b7a491838de2ac348a701423d3d30 100644 --- a/include/configs/ap325rxa.h +++ b/include/configs/ap325rxa.h @@ -16,11 +16,6 @@ #define CONFIG_DISPLAY_BOARDINFO #undef CONFIG_SHOW_BOOT_PROGRESS -/* SMC9118 */ -#define CONFIG_SMC911X 1 -#define CONFIG_SMC911X_32_BIT 1 -#define CONFIG_SMC911X_BASE 0xB6080000 - /* MEMORY */ #define AP325RXA_SDRAM_BASE (0x88000000) #define AP325RXA_FLASH_BASE_1 (0xA0000000) diff --git a/include/configs/blanche.h b/include/configs/blanche.h index c09d430d3ab27d2a6eb49ab81bf7a72273ce2541..2b18033e64e5f38eb546016fb2a637bc1e71cced 100755 --- a/include/configs/blanche.h +++ b/include/configs/blanche.h @@ -65,11 +65,7 @@ #undef CONFIG_CMD_SPI #endif -/* BLANCHE on board LANC: SMC89218 (ExCS0) */ #define CONFIG_NET_MULTI -#define CONFIG_SMC911X 1 -#define CONFIG_SMC911X_16_BIT 1 -#define CONFIG_SMC911X_BASE 0x18000000 /* Board Clock */ #define RMOBILE_XTAL_CLK 20000000u diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index d0b990cb04c89be9943cb4048dc15df1a345fd5b..7cb31241539ef81218be676e43565ca325c62fd1 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -207,14 +207,6 @@ #define CONFIG_ENV_OFFSET 0x260000 #define CONFIG_ENV_ADDR 0x260000 -#if defined(CONFIG_CMD_NET) -#define CONFIG_SMC911X -#define CONFIG_SMC911X_32_BIT -#define CM_T3X_SMC911X_BASE 0x2C000000 -#define SB_T35_SMC911X_BASE (CM_T3X_SMC911X_BASE + (16 << 20)) -#define CONFIG_SMC911X_BASE CM_T3X_SMC911X_BASE -#endif /* (CONFIG_CMD_NET) */ - /* additions for new relocation code, must be added to all boards */ #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 #define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800 diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h index 4a31944e4b6c776b8c905af9d8eda42318c829b6..fbb11356978c5119c038dbafb8d51fcfb916e2ec 100644 --- a/include/configs/cm_t3517.h +++ b/include/configs/cm_t3517.h @@ -213,9 +213,6 @@ #define CONFIG_DRIVER_TI_EMAC #define CONFIG_DRIVER_TI_EMAC_USE_RMII #define CONFIG_MII -#define CONFIG_SMC911X -#define CONFIG_SMC911X_32_BIT -#define CONFIG_SMC911X_BASE (0x2C000000 + (16 << 20)) #define CONFIG_ARP_TIMEOUT 200UL #define CONFIG_NET_RETRY_COUNT 5 #endif /* CONFIG_CMD_NET */ diff --git a/include/configs/duovero.h b/include/configs/duovero.h index c4496a7f48dffa28da9066b1237801cfaaabe24a..96644b1fa617760ea9f59b748869c86e047bb8e5 100644 --- a/include/configs/duovero.h +++ b/include/configs/duovero.h @@ -30,10 +30,6 @@ #define CONFIG_SYS_ENABLE_PADS_ALL -#define CONFIG_SMC911X -#define CONFIG_SMC911X_32_BIT -#define CONFIG_SMC911X_BASE 0x2C000000 - /* GPIO */ /* ENV related config options */ diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h index 2860d6bb9b1e3c9354a1d2f3c5e3d64b78bf3531..57101b671d2a149501d2a47fff0f92ea6c524f06 100644 --- a/include/configs/exynos5-common.h +++ b/include/configs/exynos5-common.h @@ -123,9 +123,6 @@ /* Ethernet Controllor Driver */ #ifdef CONFIG_CMD_NET -#define CONFIG_SMC911X -#define CONFIG_SMC911X_BASE 0x5000000 -#define CONFIG_SMC911X_16_BIT #define CONFIG_ENV_SROM_BANK 1 #endif /*CONFIG_CMD_NET*/ diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h index 1750b228a174200c1caebe76b90500ef2167130d..36fda478135107450a977012d33e0cac86352366 100644 --- a/include/configs/imx31_phycore.h +++ b/include/configs/imx31_phycore.h @@ -85,10 +85,6 @@ "pclk:185925,le:9,ri:17,up:7,lo:10,hs:1,vs:1," \ "sync:1241513985,vmode:0\0" -#define CONFIG_SMC911X -#define CONFIG_SMC911X_BASE 0xa8000000 -#define CONFIG_SMC911X_32_BIT - /* * Miscellaneous configurable options */ diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index a260d0e8ac7d8491ce3790e5cf8b20b02b180711..16f37a016de8fd45a97465c82b4317f87ca2da36 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -103,10 +103,6 @@ #define CONFIG_SH_SCIF_CLK_FREQ CONFIG_SYS_CLK_FREQ #define TMU_CLK_DIVIDER (4) /* 4 (default), 16, 64, 256 or 1024 */ -/* Ether */ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_BASE (0x10000000) -#define CONFIG_SMC911X_32_BIT #define CONFIG_NFS_TIMEOUT 10000UL /* I2C */ diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index a9bfec2c4979fc3a8c8b6ba1fd41969a9f1a1a49..3259e82761d59793953912250fd2b0e6c48fc08b 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs/mx31pdk.h @@ -79,10 +79,6 @@ "nand erase 0x0 0x40000; " \ "nand write 0x81000000 0x0 0x40000\0" -#define CONFIG_SMC911X -#define CONFIG_SMC911X_BASE 0xB6000000 -#define CONFIG_SMC911X_32_BIT - /* * Miscellaneous configurable options */ diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h index 18695d2686143d9a3cb11611829cc6c31010d2b9..8cc5163258b283a6473da22117d7d14f0036b6b2 100644 --- a/include/configs/mx35pdk.h +++ b/include/configs/mx35pdk.h @@ -85,10 +85,6 @@ /* * Ethernet on the debug board (SMC911) */ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_16_BIT 1 -#define CONFIG_SMC911X_BASE CS5_BASE_ADDR - #define CONFIG_HAS_ETH1 #define CONFIG_ETHPRIME diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h index d1d5ae523f08f2a385a51010e1c486563fb7e9a8..985109e5c98f41545527f4bd2cc7087b1466445b 100644 --- a/include/configs/mx53ard.h +++ b/include/configs/mx53ard.h @@ -60,11 +60,6 @@ #define CONFIG_ETHPRIME "smc911x" -/*Support LAN9217*/ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_16_BIT -#define CONFIG_SMC911X_BASE CS1_BASE_ADDR - #define CONFIG_LOADADDR 0x72000000 /* loadaddr env var */ #define CONFIG_SYS_TEXT_BASE 0x77800000 diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h index 4adc66e2abb33382d9fc5c87b573919c9cbe9abf..df50325ab66da93688d95405ee23aae0409a304c 100644 --- a/include/configs/omap3_evm.h +++ b/include/configs/omap3_evm.h @@ -83,13 +83,6 @@ /* USB EHCI */ #define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1 -/* SMSC911x Ethernet */ -#if defined(CONFIG_CMD_NET) -#define CONFIG_SMC911X -#define CONFIG_SMC911X_32_BIT -#define CONFIG_SMC911X_BASE 0x2C000000 -#endif /* CONFIG_CMD_NET */ - /* Environment */ #define CONFIG_PREBOOT "usb start" diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h index 123de88711ac2bee88661862b202ed5202beb9ad..1a90cb5311af62d92b41cc06833c19f10bbbfc13 100644 --- a/include/configs/omap3_igep00x0.h +++ b/include/configs/omap3_igep00x0.h @@ -101,15 +101,6 @@ #endif -/* - * SMSC911x Ethernet - */ -#if defined(CONFIG_CMD_NET) -#define CONFIG_SMC911X -#define CONFIG_SMC911X_32_BIT -#define CONFIG_SMC911X_BASE 0x2C000000 -#endif /* (CONFIG_CMD_NET) */ - #define CONFIG_MTD_PARTITIONS #define CONFIG_SYS_MTDPARTS_RUNTIME diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 5f8f9d785437031c6c03681e04e3669a0730718a..a5a2af19e58f786f2bfe1d83888dfccaf7868e2f 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -236,13 +236,6 @@ #define CONFIG_ENV_OFFSET 0x260000 #define CONFIG_ENV_ADDR 0x260000 -/* SMSC922x Ethernet */ -#if defined(CONFIG_CMD_NET) -#define CONFIG_SMC911X -#define CONFIG_SMC911X_32_BIT -#define CONFIG_SMC911X_BASE 0x08000000 -#endif /* (CONFIG_CMD_NET) */ - /* Defines for SPL */ /* NAND: SPL falcon mode configs */ diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index 8257afbe61603a39031304749a14345b20ff21bb..756b50c664f8f2354f0e62a35442efc745dbf0f9 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/omap3_overo.h @@ -179,13 +179,6 @@ #define CONFIG_ENV_OFFSET 0x240000 #define CONFIG_ENV_ADDR 0x240000 -/* Configure SMSC9211 ethernet */ -#if defined(CONFIG_CMD_NET) -#define CONFIG_SMC911X -#define CONFIG_SMC911X_32_BIT -#define CONFIG_SMC911X_BASE 0x2C000000 -#endif /* (CONFIG_CMD_NET) */ - /* Initial RAM setup */ #define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800 #define CONFIG_SYS_INIT_RAM_SIZE 0x800 diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h index ed40a4b9e3a4c213e18c0d8413c15421c3d9a2d6..70613b5e753165312c3e73f84359d5fc1923d5b0 100644 --- a/include/configs/omap3_zoom1.h +++ b/include/configs/omap3_zoom1.h @@ -153,12 +153,4 @@ #define CONFIG_ENV_OFFSET 0x260000 #define CONFIG_ENV_ADDR 0x260000 -#ifdef CONFIG_CMD_NET -/* Ethernet (LAN9211 from SMSC9118 family) */ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_32_BIT -#define CONFIG_SMC911X_BASE DEBUG_BASE - -#endif - #endif /* __CONFIG_H */ diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h index ea9aa8d1963ad28ffe4cdaa7beb47c1d1bb9eccf..a31c6e20dfca6e856ed30865e04418a813ab1561 100644 --- a/include/configs/r0p7734.h +++ b/include/configs/r0p7734.h @@ -28,11 +28,6 @@ #define CONFIG_BITBANGMII_MULTI #define CONFIG_SH_ETHER_SH7734_MII (0x00) /* MII */ #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII -#ifndef CONFIG_SH_ETHER -# define CONFIG_SMC911X -# define CONFIG_SMC911X_16_BIT -# define CONFIG_SMC911X_BASE (0x84000000) -#endif /* undef to save memory */ #define CONFIG_SYS_LONGHELP diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h index e52756ae2b6d93689a6ffe9feb7d5df353ff3a75..215767cf0acaf0b01dbb861f091a910142891ee4 100644 --- a/include/configs/rsk7203.h +++ b/include/configs/rsk7203.h @@ -67,9 +67,4 @@ #define CMT_CLK_DIVIDER 32 /* 8 (default), 32, 128 or 512 */ #define CONFIG_SH_CMT_CLK_FREQ (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER) -/* Network interface */ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_16_BIT -#define CONFIG_SMC911X_BASE (0x24000000) - #endif /* __RSK7203_H */ diff --git a/include/configs/rsk7264.h b/include/configs/rsk7264.h index d717562f8e2112ba42d2fd02e2bef0c6a8a7878f..11b8e0a1792df8dcac97979fcad48f4978f4db3d 100644 --- a/include/configs/rsk7264.h +++ b/include/configs/rsk7264.h @@ -56,9 +56,4 @@ #define CMT_CLK_DIVIDER 32 /* 8 (default), 32, 128 or 512 */ #define CONFIG_SH_CMT_CLK_FREQ (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER) -/* Network interface */ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_16_BIT -#define CONFIG_SMC911X_BASE 0x28000000 - #endif /* __RSK7264_H */ diff --git a/include/configs/rsk7269.h b/include/configs/rsk7269.h index ac53f198c6bf573d7ac6d153212287c3a2b0205d..709563d7d85e4decba6192d1f0b4997148c9606d 100644 --- a/include/configs/rsk7269.h +++ b/include/configs/rsk7269.h @@ -55,9 +55,4 @@ #define CMT_CLK_DIVIDER 32 /* 8 (default), 32, 128 or 512 */ #define CONFIG_SH_CMT_CLK_FREQ (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER) -/* Network interface */ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_16_BIT -#define CONFIG_SMC911X_BASE 0x24000000 - #endif /* __RSK7269_H */ diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h index 3398b121bfa9b60a335dda869012257de88e429b..ed097b5cb6bf773148102e391a2d4eb14a46730c 100644 --- a/include/configs/smdkc100.h +++ b/include/configs/smdkc100.h @@ -174,9 +174,6 @@ * Ethernet Contoller driver */ #ifdef CONFIG_CMD_NET -#define CONFIG_SMC911X 1 /* we have a SMC9115 on-board */ -#define CONFIG_SMC911X_16_BIT 1 /* SMC911X_16_BIT Mode */ -#define CONFIG_SMC911X_BASE 0x98800300 /* SMC911X Drive Base */ #define CONFIG_ENV_SROM_BANK 3 /* Select SROM Bank-3 for Ethernet*/ #endif /* CONFIG_CMD_NET */ diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h index fb77db33f1365c15132296e81d7ba9dd0dd1ebad..240711408685db6e9fe0b4c0fed61663de0ce2b8 100644 --- a/include/configs/smdkv310.h +++ b/include/configs/smdkv310.h @@ -88,9 +88,6 @@ /* Ethernet Controllor Driver */ #ifdef CONFIG_CMD_NET -#define CONFIG_SMC911X -#define CONFIG_SMC911X_BASE 0x5000000 -#define CONFIG_SMC911X_16_BIT #define CONFIG_ENV_SROM_BANK 1 #endif /*CONFIG_CMD_NET*/ diff --git a/include/configs/twister.h b/include/configs/twister.h index bec402ea9c43b57437a421a2c2e70b056b21bbc3..5626eb1b953f4db693023f4e9000058a6c304e24 100644 --- a/include/configs/twister.h +++ b/include/configs/twister.h @@ -24,14 +24,6 @@ #define CONFIG_HOSTNAME twister -/* - * Miscellaneous configurable options - */ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_16_BIT -#define CONFIG_SMC911X_BASE 0x2C000000 -#define CONFIG_SMC911X_NO_EEPROM - #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \ "bootcmd=run nandboot\0" diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 1d3bf987c09de9c3fe524db449e50a84ec8827de..515024c98e2df499d15dc1acf8b52c7f401b5906 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -28,14 +28,6 @@ /* FLASH related */ #define CONFIG_MTD_DEVICE -#define CONFIG_SMC911X_32_BIT -/* dummy: referenced by examples/standalone/smc911x_eeprom.c */ -#define CONFIG_SMC911X_BASE 0 - -#ifdef CONFIG_MICRO_SUPPORT_CARD -#define CONFIG_SMC911X -#endif - #define CONFIG_FLASH_CFI_DRIVER #define CONFIG_SYS_FLASH_CFI diff --git a/include/configs/vct.h b/include/configs/vct.h index d223bcebf1c0260e5bf9eda5e09b97e5d152e274..9515f93da7c00885745bc6936501144268e93fe5 100644 --- a/include/configs/vct.h +++ b/include/configs/vct.h @@ -65,33 +65,12 @@ #define CONFIG_SYS_LOAD_ADDR 0x80400000 /* default load address */ #if defined(CONFIG_VCT_PREMIUM) || defined(CONFIG_VCT_PLATINUM) -/* - * SMSC91C11x Network Card - */ -#define CONFIG_SMC911X -#define CONFIG_SMC911X_BASE 0x00000000 -#define CONFIG_SMC911X_32_BIT #define CONFIG_NET_RETRY_COUNT 20 #endif /* * Commands */ - -/* - * Only Premium/Platinum have ethernet support right now - */ -#if (defined(CONFIG_VCT_PREMIUM) || defined(CONFIG_VCT_PLATINUM)) && \ - !defined(CONFIG_VCT_SMALL_IMAGE) -#endif - -/* - * Only Premium/Platinum have USB-EHCI support right now - */ -#if (defined(CONFIG_VCT_PREMIUM) || defined(CONFIG_VCT_PLATINUM)) && \ - !defined(CONFIG_VCT_SMALL_IMAGE) -#endif - #if defined(CONFIG_CMD_USB) #define CONFIG_SUPPORT_VFAT @@ -236,7 +215,6 @@ int vct_gpio_get(int pin); * (NOR/OneNAND) usage and Linux kernel booting. */ #if defined(CONFIG_VCT_SMALL_IMAGE) -#undef CONFIG_SMC911X #undef CONFIG_SYS_I2C_SOFT #undef CONFIG_SOURCE #undef CONFIG_SYS_LONGHELP diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h index 316198a40225f6d756c759ff0a986ebae9055dad..6203e14135678f95e70f482d0bdd4df3ab03dcc0 100644 --- a/include/configs/vexpress_aemv8a.h +++ b/include/configs/vexpress_aemv8a.h @@ -102,13 +102,7 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (8 << 20)) -/* Ethernet Configuration */ -#ifdef CONFIG_TARGET_VEXPRESS64_JUNO -/* The real hardware Versatile express uses SMSC9118 */ -#define CONFIG_SMC911X 1 -#define CONFIG_SMC911X_32_BIT 1 -#define CONFIG_SMC911X_BASE (0x018000000) -#else +#ifndef CONFIG_TARGET_VEXPRESS64_JUNO /* The Vexpress64 simulators use SMSC91C111 */ #define CONFIG_SMC91111 1 #define CONFIG_SMC91111_BASE (0x01A000000) diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h index bcaf5c9426a023089a45119341dce986262e8b70..ade7ba4a8a34bcf4555385ab7337654a7c7adee1 100644 --- a/include/configs/vexpress_common.h +++ b/include/configs/vexpress_common.h @@ -55,7 +55,6 @@ #define V2M_NOR1 (V2M_PA_CS1) #define V2M_SRAM (V2M_PA_CS2) #define V2M_VIDEO_SRAM (V2M_PA_CS3 + 0x00000000) -#define V2M_LAN9118 (V2M_PA_CS3 + 0x02000000) #define V2M_ISP1761 (V2M_PA_CS3 + 0x03000000) /* Common peripherals relative to CS7. */ @@ -133,11 +132,6 @@ #define CONFIG_SYS_TIMER_COUNTER (V2M_TIMER01 + 0x4) #define CONFIG_SYS_TIMER_COUNTS_DOWN -/* SMSC9115 Ethernet from SMSC9118 family */ -#define CONFIG_SMC911X 1 -#define CONFIG_SMC911X_32_BIT 1 -#define CONFIG_SMC911X_BASE V2M_LAN9118 - /* PL011 Serial Configuration */ #define CONFIG_PL011_SERIAL #define CONFIG_PL011_CLOCK 24000000 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 65cee0fb7026b720adad86d5493b49388f23966a..5ee1601f0e7a022cb9a25ffbaa070e0a1b5988ae 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -2044,11 +2044,6 @@ CONFIG_SLTTMR CONFIG_SMC91111 CONFIG_SMC91111_BASE CONFIG_SMC91111_EXT_PHY -CONFIG_SMC911X -CONFIG_SMC911X_16_BIT -CONFIG_SMC911X_32_BIT -CONFIG_SMC911X_BASE -CONFIG_SMC911X_NO_EEPROM CONFIG_SMC_AUTONEG_TIMEOUT CONFIG_SMC_USE_32_BIT CONFIG_SMC_USE_IOFUNCS