summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2017-09-05 15:20:44 -0500
committerTom Rini <trini@konsulko.com>2017-10-20 21:40:26 -0400
commit8daec2d9d3ff2d7ff85c203c0e9d07f5278b74f4 (patch)
tree70bbfcd5b386be214592d065cb233c0d1d35058c /include/configs
parent0a9ef45158d586017839d4b6fccd7f8f16672156 (diff)
downloadu-boot-8daec2d9d3ff2d7ff85c203c0e9d07f5278b74f4.tar.gz
net: Add SMC911X driver to Kconfig, convert
We add the various SMC91XX symbols to drivers/net/Kconfig and then this converts the following to Kconfig: CONFIG_SMC911X CONFIG_SMC911X_BASE CONFIG_SMC911X_16_BIT CONFIG_SMC911X_32_BIT Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Apply to the rest of the tree, re-squash old and new patch] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ap325rxa.h5
-rwxr-xr-xinclude/configs/blanche.h4
-rw-r--r--include/configs/cm_t35.h8
-rw-r--r--include/configs/cm_t3517.h3
-rw-r--r--include/configs/duovero.h4
-rw-r--r--include/configs/exynos5-common.h3
-rw-r--r--include/configs/imx31_phycore.h4
-rw-r--r--include/configs/kzm9g.h4
-rw-r--r--include/configs/mx31pdk.h4
-rw-r--r--include/configs/mx35pdk.h4
-rw-r--r--include/configs/mx53ard.h5
-rw-r--r--include/configs/omap3_evm.h7
-rw-r--r--include/configs/omap3_igep00x0.h9
-rw-r--r--include/configs/omap3_logic.h7
-rw-r--r--include/configs/omap3_overo.h7
-rw-r--r--include/configs/omap3_zoom1.h8
-rw-r--r--include/configs/r0p7734.h5
-rw-r--r--include/configs/rsk7203.h5
-rw-r--r--include/configs/rsk7264.h5
-rw-r--r--include/configs/rsk7269.h5
-rw-r--r--include/configs/smdkc100.h3
-rw-r--r--include/configs/smdkv310.h3
-rw-r--r--include/configs/twister.h8
-rw-r--r--include/configs/uniphier.h8
-rw-r--r--include/configs/vct.h22
-rw-r--r--include/configs/vexpress_aemv8a.h8
-rw-r--r--include/configs/vexpress_common.h6
27 files changed, 1 insertions, 163 deletions
diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
index 1140a70b5e..c09769dbed 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 c09d430d3a..2b18033e64 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 d0b990cb04..7cb3124153 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 4a31944e4b..fbb1135697 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 c4496a7f48..96644b1fa6 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 2860d6bb9b..57101b671d 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 1750b228a1..36fda47813 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 a260d0e8ac..16f37a016d 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 a9bfec2c49..3259e82761 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 18695d2686..8cc5163258 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 d1d5ae523f..985109e5c9 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 4adc66e2ab..df50325ab6 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 123de88711..1a90cb5311 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 5f8f9d7854..a5a2af19e5 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 8257afbe61..756b50c664 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 ed40a4b9e3..70613b5e75 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 ea9aa8d196..a31c6e20df 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 e52756ae2b..215767cf0a 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 d717562f8e..11b8e0a179 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 ac53f198c6..709563d7d8 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 3398b121bf..ed097b5cb6 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 fb77db33f1..2407114086 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 bec402ea9c..5626eb1b95 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 1d3bf987c0..515024c98e 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 d223bcebf1..9515f93da7 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 316198a402..6203e14135 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 bcaf5c9426..ade7ba4a8a 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