]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: ks8851: Add Kconfig entries
authorMarek Vasut <marex@denx.de>
Wed, 25 Mar 2020 18:08:59 +0000 (19:08 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 22 May 2020 17:46:45 +0000 (19:46 +0200)
Convert CONFIG_KS8851_MLL and CONFIG_KS8851_MLL_BASEADDR to Kconfig

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
configs/at91sam9n12ek_mmc_defconfig
configs/at91sam9n12ek_nandflash_defconfig
configs/at91sam9n12ek_spiflash_defconfig
drivers/net/Kconfig
include/configs/at91sam9n12ek.h
scripts/config_whitelist.txt

index 075daa79d3f687898ebe11d1817d1628111ace8b..308f097b60f2810bec5f1c9fd6d02f98d7fc6cef 100644 (file)
@@ -47,6 +47,8 @@ CONFIG_NAND_ATMEL=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=30000000
 CONFIG_SPI_FLASH_ATMEL=y
+CONFIG_KS8851_MLL=y
+CONFIG_KS8851_MLL_BASEADDR=0x30000000
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_DM_SERIAL=y
index b02be844931040cac87f92d03a93c7eabc0aa703..fd6d13db9bac63505f4f11e82e71224a8220a686 100644 (file)
@@ -48,6 +48,8 @@ CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=30000000
 CONFIG_SPI_FLASH_ATMEL=y
+CONFIG_KS8851_MLL=y
+CONFIG_KS8851_MLL_BASEADDR=0x30000000
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_DM_SERIAL=y
index be8ef51a2d85ead8b367bdf2e223c3aa39feb75c..97e29bdc6e776100dbec7fb05054fc3507c88e3b 100644 (file)
@@ -49,6 +49,8 @@ CONFIG_NAND_ATMEL=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=30000000
 CONFIG_SPI_FLASH_ATMEL=y
+CONFIG_KS8851_MLL=y
+CONFIG_KS8851_MLL_BASEADDR=0x30000000
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_DM_SERIAL=y
index f7855c92d38cbc490f67f50fa490a79ad6c4556e..0b08de0ef4583d17548a430d5ca0128ba0a3f90c 100644 (file)
@@ -307,6 +307,20 @@ config FSLDMAFEC
          This driver supports the network interface units in the
          ColdFire family.
 
+config KS8851_MLL
+       bool "Microchip KS8851-MLL controller driver"
+       help
+         The Microchip KS8851 parallel bus external ethernet interface chip.
+
+if KS8851_MLL
+if !DM_ETH
+config KS8851_MLL_BASEADDR
+       hex "Microchip KS8851-MLL Base Address"
+       help
+         Define this to hold the physical address of the device (I/O space)
+endif #DM_ETH
+endif #KS8851_MLL
+
 config MVGBE
        bool "Marvell Orion5x/Kirkwood network interface support"
        depends on ARCH_KIRKWOOD || ARCH_ORION5X
index 7ee569521e648928e46fd0cf87c62aefa19a921e..706217fef9a4d013f23c0a1feff7a8303dc0a847 100644 (file)
@@ -63,9 +63,6 @@
        "bootargs_mmc=root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait\0"
 
 /* Ethernet */
-#define CONFIG_KS8851_MLL
-#define CONFIG_KS8851_MLL_BASEADDR     0x30000000 /* use NCS2 */
-
 #define CONFIG_SYS_LOAD_ADDR           0x22000000 /* load address */
 
 /* USB host */
index 3f5e6504e1c7a6bce5773745241842770752df3c..9b6b45116a4c53f9abf45bd4c720f98b81380158 100644 (file)
@@ -942,8 +942,6 @@ CONFIG_KONA
 CONFIG_KONA_GPIO
 CONFIG_KONA_RESET_S
 CONFIG_KPROBES
-CONFIG_KS8851_MLL
-CONFIG_KS8851_MLL_BASEADDR
 CONFIG_KSNAV_NETCP_PDMA_CTRL_BASE
 CONFIG_KSNAV_NETCP_PDMA_RX_BASE
 CONFIG_KSNAV_NETCP_PDMA_RX_CH_NUM