]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: dc2114x: Add Kconfig entries
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 20 Jun 2020 15:43:29 +0000 (17:43 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 25 Jul 2020 09:24:02 +0000 (11:24 +0200)
Add Kconfig entries for the dc2114x driver and convert various boards.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
26 files changed:
README
configs/integratorap_cm720t_defconfig
configs/integratorap_cm920t_defconfig
configs/integratorap_cm926ejs_defconfig
configs/integratorap_cm946es_defconfig
drivers/net/Kconfig
include/configs/MPC8349EMDS.h
include/configs/MPC8349EMDS_SDRAM.h
include/configs/MPC8540ADS.h
include/configs/MPC8541CDS.h
include/configs/MPC8544DS.h
include/configs/MPC8548CDS.h
include/configs/MPC8555CDS.h
include/configs/MPC8560ADS.h
include/configs/MPC8568MDS.h
include/configs/MPC8569MDS.h
include/configs/MPC8572DS.h
include/configs/MPC8641HPCN.h
include/configs/TQM834x.h
include/configs/caddy2.h
include/configs/integratorap.h
include/configs/sbc8349.h
include/configs/sbc8548.h
include/configs/sbc8641d.h
include/configs/vme8349.h
scripts/config_whitelist.txt

diff --git a/README b/README
index 2384966a39fbde5116006755f5599ecb8dc36bb5..7ab7e37c705f3223791fb2444885b3c79e43bce9 100644 (file)
--- a/README
+++ b/README
@@ -871,9 +871,6 @@ The following options need to be configured:
                Allow generic access to the SPI bus on the Intel 8257x, for
                example with the "sspi" command.
 
-               CONFIG_TULIP
-               Support for Digital 2114x chips.
-
                CONFIG_NATSEMI
                Support for National dp83815 chips.
 
index 1b7d672bcb8dba63346dc770cb897eaa5a84bb3b..0d9746b485ef142002435cec2c998de78189b113 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_EEPRO100=y
+CONFIG_TULIP=y
 CONFIG_PCI=y
 CONFIG_BAUDRATE=38400
 CONFIG_OF_LIBFDT=y
index 116ac015a082d0a2702d797df7ad09a1dfb72797..7d71648a863e8aa714599881cc8a19692bdaf85e 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_EEPRO100=y
+CONFIG_TULIP=y
 CONFIG_PCI=y
 CONFIG_BAUDRATE=38400
 CONFIG_OF_LIBFDT=y
index 9c1a3fa2f5d3ee1d504edd6e13288587999995ce..921a75e326b2350622bdb0621f52cdc26d279bbb 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_EEPRO100=y
+CONFIG_TULIP=y
 CONFIG_PCI=y
 CONFIG_BAUDRATE=38400
 CONFIG_OF_LIBFDT=y
index ee9c69bce05a3ec69ba0506431209b07689b6695..4032da97b48b8f0372afe7b8a14aa17715939468 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_EEPRO100=y
+CONFIG_TULIP=y
 CONFIG_PCI=y
 CONFIG_BAUDRATE=38400
 CONFIG_OF_LIBFDT=y
index ec3fb4983206fd6e986919890b64d07bdcb76e4c..15030b81651d176904bfd435b7a20a34bf321efa 100644 (file)
@@ -491,6 +491,12 @@ config SH_ETHER
 
 source "drivers/net/ti/Kconfig"
 
+config TULIP
+       bool "DEC Tulip DC2114x Ethernet support"
+       depends on (DM_ETH && DM_PCI) || !DM_ETH
+       help
+         This driver supports DEC DC2114x Fast ethernet chips.
+
 config XILINX_AXIEMAC
        depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
        select PHYLIB
index 41ef3d80e1aad3b56bb421b3c022b56338cecc14..c2f44416b9e2606eecf70c3d51ce3cc603e70ebf 100644 (file)
 
 #define CONFIG_83XX_PCI_STREAMING
 
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
        #define PCI_ENET0_IOADDR        0xFIXME
index 4b43ee1d448494f1607351191859fea994695a77..618e210e4e2ec21cd34673c798924584d4a52237 100644 (file)
 
 #define CONFIG_83XX_PCI_STREAMING
 
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
        #define PCI_ENET0_IOADDR        0xFIXME
index d2a92619fb6a243036550c944130946804454276..8b7e0da9ca6dc9fbd05a88b9c211f0df9cf262c2 100644 (file)
 #define CONFIG_SYS_PCI1_IO_SIZE        0x100000        /* 1M */
 
 #if defined(CONFIG_PCI)
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
     #define PCI_ENET0_IOADDR   0xe0000000
index 834bf7a0ffdd327c78a3b1296e4d9e87d9d092bb..d174b27309b14b9ff5bcfd2bfebcbccc2dc89ffd 100644 (file)
@@ -280,7 +280,6 @@ extern unsigned long get_clock_freq(void);
 
 #define CONFIG_MPC85XX_PCI2
 
-#undef CONFIG_TULIP
 
 #undef CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup */
 #define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1057  /* Motorola */
index b9c57e1f518bcb2dbfd9625e8fb055a64fa2a7c3..e473c0f5318c1ad2ba9f8006e1f336ce7f90b2c5 100644 (file)
@@ -256,7 +256,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS VIDEO_IO_OFFSET
 #endif
 
-#undef CONFIG_TULIP
 
 #ifndef CONFIG_PCI_PNP
        #define PCI_ENET0_IOADDR        CONFIG_SYS_PCI1_IO_BUS
index 4b4012919767504c95d1ae9bcd79508c63db80b6..f7605186768d1040c13fff46040b2d65a270496b 100644 (file)
@@ -374,7 +374,6 @@ extern unsigned long get_clock_freq(void);
 #endif
 
 #if defined(CONFIG_PCI)
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_DM_PCI)
 #define CONFIG_FSL_PCI_INIT            1       /* Use common FSL init code */
index c25b04e97931aa1529c6a220dbe6454c0a945c7c..dcb09b056f255da22497425be1f344cf42530397 100644 (file)
@@ -278,7 +278,6 @@ extern unsigned long get_clock_freq(void);
 
 #define CONFIG_MPC85XX_PCI2
 
-#undef CONFIG_TULIP
 
 #define CONFIG_PCI_SCAN_SHOW           /* show pci devices on startup */
 #define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1057  /* Motorola */
index 4d1a417e42f6e90a8079fd7c665b7c46c9e5832e..a9f3029292cae1ad64d966a9b334ce334de2cfa3 100644 (file)
 #define CONFIG_SYS_PCI1_IO_SIZE        0x100000        /* 1M */
 
 #if defined(CONFIG_PCI)
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
     #define PCI_ENET0_IOADDR   0xe0000000
index 14663644d12b65ca6047bc9b75af693105cedae3..c49f786ee0fa915931d1d5fa0c9fd675e5ff7474 100644 (file)
@@ -288,7 +288,6 @@ extern unsigned long get_clock_freq(void);
 #endif /* CONFIG_QE */
 
 #if defined(CONFIG_PCI)
-#undef CONFIG_TULIP
 
 #undef CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup */
 #define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1057  /* Motorola */
index dd291aca1efe9c0e65c6b6828d5640308ea50e9c..acb8dec81927e1bfce85220a68055092fff3c9f8 100644 (file)
@@ -394,7 +394,6 @@ extern unsigned long get_clock_freq(void);
 #endif /* CONFIG_QE */
 
 #if defined(CONFIG_PCI)
-#undef CONFIG_TULIP
 
 #undef CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup */
 
index 429dae19af39e6dc10fdf2e0a9c234186742949c..57aebfd337ed618f253b9f949c2b653cfb6270f8 100644 (file)
 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS VIDEO_IO_OFFSET
 #endif
 
-#undef CONFIG_TULIP
 
 #ifndef CONFIG_PCI_PNP
        #define PCI_ENET0_IOADDR        CONFIG_SYS_PCIE3_IO_BUS
index 1560b61387060c72f23e4db0b9c8e696d651313e..42fdcdd43fe1db63f546c1ec267cb63ef3dfb79b 100644 (file)
@@ -330,7 +330,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 
 #define CONFIG_PCI_SCAN_SHOW           /* show pci devices on startup */
 
-#undef CONFIG_TULIP
 
 /************************************************************
  * USB support
index d43d21795687d96f9a10383ead8e5f73340a2f34..aa70f01dddedb49823dd8ee759ac203260665b4b 100644 (file)
 #define CONFIG_SYS_PCI1_IO_PHYS                CONFIG_SYS_PCI1_IO_BASE
 #define CONFIG_SYS_PCI1_IO_SIZE                0x1000000       /* 16M */
 
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
        #define PCI_ENET0_IOADDR        CONFIG_SYS_PCI1_IO_BASE
index a7c667711b16a989d4b5b7d373ba31d6ad597c89..e51398d531b1f8ffb05af8fac9b0f18eddd49b4c 100644 (file)
 
 #if defined(CONFIG_PCI)
 
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
        #define PCI_ENET0_IOADDR        0xFIXME
index 96c1d53b9bd8b2edd99e5daeea56401835c8fabb..2f8ac20a76ea1c2cd5dc4fd2410da4286382ded1 100644 (file)
@@ -34,7 +34,6 @@
  * PCI definitions
  */
 
-#define CONFIG_TULIP
 #define CONFIG_SYS_RX_ETH_BUFFER       8       /* use 8 rx buffer on eepro100  */
 
 /*-----------------------------------------------------------------------
index cca596d43a4ada232a1d487c908fa5f5fb5d0088..0561ec20248c27b3b4a0954bd87e6b15b6bdde2a 100644 (file)
 
 #if defined(CONFIG_PCI)
 
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
        #define PCI_ENET0_IOADDR        0xFIXME
index f94683329b8bcb45b5f6c2c222e90b9bf41d0d87..6ac5d7b0c08a7518dc9c402002a565d1b21abe23 100644 (file)
 #endif
 
 #if defined(CONFIG_PCI)
-#undef CONFIG_TULIP
 
 #define CONFIG_PCI_SCAN_SHOW           /* show pci devices on startup */
 
index 5b93ccbda11fc19ebf0f3fd6838115669fb0d75f..27a15eddd35c5487ff6282fa5a69267c91ac5e36 100644 (file)
 
 #define CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup */
 
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
     #define PCI_ENET0_IOADDR   0xe0000000
index 52d632ba0ae537d4831f40c5e41469c78fb159d3..bd94352179a7e25350addb558c381711f03e7e88 100644 (file)
 
 #if defined(CONFIG_PCI)
 
-#undef CONFIG_TULIP
 
 #if !defined(CONFIG_PCI_PNP)
        #define PCI_ENET0_IOADDR        0xFIXME
index 2ec7642583d2bd5b72c2f72795a9237114575c21..d4de73532f1b1b5411128f9b8359008b4cb01d5c 100644 (file)
@@ -4022,7 +4022,6 @@ CONFIG_TSECV2
 CONFIG_TSECV2_1
 CONFIG_TSEC_TBI
 CONFIG_TSEC_TBICR_SETTINGS
-CONFIG_TULIP
 CONFIG_TWL6030_INPUT
 CONFIG_TWL6030_POWER
 CONFIG_TWR