Convert CONFIG_MII_INIT to Kconfig
This converts the following to Kconfig: CONFIG_MII_INIT Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#define CONFIG_WATCHDOG_TIMEOUT 5000
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
# define CONFIG_MII_INIT 1
|
||||
# define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
# ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
# define CONFIG_MII_INIT 1
|
||||
# define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
# ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
env/embedded.o(.text);
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
# define CONFIG_MII_INIT 1
|
||||
# define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
# ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
/* Available command configuration */
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
#define CONFIG_MII_INIT 1
|
||||
#define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
#ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
env/embedded.o(.text*);
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
# define CONFIG_MII_INIT 1
|
||||
# define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
# ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#define CONFIG_SYS_UNIFY_CACHE
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
# define CONFIG_MII_INIT 1
|
||||
# define CONFIG_SYS_DISCOVER_PHY
|
||||
# define CONFIG_SYS_TX_ETH_BUFFER 8
|
||||
# define CONFIG_SYS_FEC_BUF_USE_SRAM
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#define CONFIG_SYS_UNIFY_CACHE
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
# define CONFIG_MII_INIT 1
|
||||
# define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
# ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#define CONFIG_SYS_UNIFY_CACHE
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
# define CONFIG_MII_INIT 1
|
||||
# define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
# ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
@@ -88,7 +88,6 @@
|
||||
|
||||
/* Ethernet configuration part */
|
||||
#define CONFIG_SYS_DISCOVER_PHY 1
|
||||
#define CONFIG_MII_INIT 1
|
||||
|
||||
/* NAND configuration part */
|
||||
#define CONFIG_SYS_MAX_NAND_DEVICE 1
|
||||
|
||||
@@ -89,7 +89,6 @@
|
||||
env/embedded.o(.text);
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
# define CONFIG_MII_INIT 1
|
||||
# define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
# ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
*----------------------------------------------------------------------*/
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
#define CONFIG_MII_INIT 1
|
||||
#define CONFIG_SYS_DISCOVER_PHY
|
||||
#define CONFIG_OVERWRITE_ETHADDR_ONCE
|
||||
#endif
|
||||
|
||||
@@ -132,7 +132,6 @@
|
||||
CONFIG_SYS_INIT_RAM_SIZE - 12)
|
||||
|
||||
#ifdef CONFIG_MCFFEC
|
||||
#define CONFIG_MII_INIT 1
|
||||
#define CONFIG_SYS_DISCOVER_PHY
|
||||
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
|
||||
#ifndef CONFIG_SYS_DISCOVER_PHY
|
||||
|
||||
Reference in New Issue
Block a user