mpc83xx: Migrate legacy PCI options to Kconfig
The MPC83xx include files contain some settings of the PCI subsystem. Migrate these to Kconfig until a proper DM PCI driver exists. Signed-off-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
@@ -285,13 +285,6 @@
|
||||
|
||||
#if defined(CONFIG_PCI)
|
||||
|
||||
#define PCI_ONE_PCI1
|
||||
#if defined(PCI_64BIT)
|
||||
#undef PCI_ALL_PCI1
|
||||
#undef PCI_TWO_PCI1
|
||||
#undef PCI_ONE_PCI1
|
||||
#endif
|
||||
|
||||
#define CONFIG_83XX_PCI_STREAMING
|
||||
|
||||
#undef CONFIG_EEPRO100
|
||||
@@ -436,7 +429,7 @@
|
||||
HRCWH_TSEC1M_IN_GMII |\
|
||||
HRCWH_TSEC2M_IN_GMII)
|
||||
#else
|
||||
#if defined(PCI_64BIT)
|
||||
#if defined(CONFIG_PCI_64BIT)
|
||||
#define CONFIG_SYS_HRCW_HIGH (\
|
||||
HRCWH_PCI_HOST |\
|
||||
HRCWH_64_BIT_PCI |\
|
||||
@@ -462,7 +455,7 @@
|
||||
HRCWH_ROM_LOC_LOCAL_16BIT |\
|
||||
HRCWH_TSEC1M_IN_GMII |\
|
||||
HRCWH_TSEC2M_IN_GMII)
|
||||
#endif /* PCI_64BIT */
|
||||
#endif /* CONFIG_PCI_64BIT */
|
||||
#endif /* CONFIG_PCISLAVE */
|
||||
|
||||
/*
|
||||
|
||||
@@ -357,13 +357,6 @@
|
||||
|
||||
#if defined(CONFIG_PCI)
|
||||
|
||||
#define PCI_ONE_PCI1
|
||||
#if defined(PCI_64BIT)
|
||||
#undef PCI_ALL_PCI1
|
||||
#undef PCI_TWO_PCI1
|
||||
#undef PCI_ONE_PCI1
|
||||
#endif
|
||||
|
||||
#define CONFIG_83XX_PCI_STREAMING
|
||||
|
||||
#undef CONFIG_EEPRO100
|
||||
@@ -508,7 +501,7 @@
|
||||
HRCWH_TSEC1M_IN_GMII |\
|
||||
HRCWH_TSEC2M_IN_GMII)
|
||||
#else
|
||||
#if defined(PCI_64BIT)
|
||||
#if defined(CONFIG_PCI_64BIT)
|
||||
#define CONFIG_SYS_HRCW_HIGH (\
|
||||
HRCWH_PCI_HOST |\
|
||||
HRCWH_64_BIT_PCI |\
|
||||
@@ -534,7 +527,7 @@
|
||||
HRCWH_ROM_LOC_LOCAL_16BIT |\
|
||||
HRCWH_TSEC1M_IN_GMII |\
|
||||
HRCWH_TSEC2M_IN_GMII)
|
||||
#endif /* PCI_64BIT */
|
||||
#endif /* CONFIG_PCI_64BIT */
|
||||
#endif /* CONFIG_PCISLAVE */
|
||||
|
||||
/*
|
||||
|
||||
@@ -270,7 +270,7 @@
|
||||
HRCWL_VCO_1X2 |\
|
||||
HRCWL_CORE_TO_CSB_2X1)
|
||||
|
||||
#if defined(PCI_64BIT)
|
||||
#if defined(CONFIG_PCI_64BIT)
|
||||
#define CONFIG_SYS_HRCW_HIGH (\
|
||||
HRCWH_PCI_HOST |\
|
||||
HRCWH_64_BIT_PCI |\
|
||||
|
||||
@@ -212,14 +212,6 @@
|
||||
|
||||
#if defined(CONFIG_PCI)
|
||||
|
||||
#define PCI_64BIT
|
||||
#define PCI_ONE_PCI1
|
||||
#if defined(PCI_64BIT)
|
||||
#undef PCI_ALL_PCI1
|
||||
#undef PCI_TWO_PCI1
|
||||
#undef PCI_ONE_PCI1
|
||||
#endif
|
||||
|
||||
#undef CONFIG_EEPRO100
|
||||
#undef CONFIG_TULIP
|
||||
|
||||
|
||||
@@ -307,14 +307,6 @@
|
||||
|
||||
#if defined(CONFIG_PCI)
|
||||
|
||||
#define PCI_64BIT
|
||||
#define PCI_ONE_PCI1
|
||||
#if defined(PCI_64BIT)
|
||||
#undef PCI_ALL_PCI1
|
||||
#undef PCI_TWO_PCI1
|
||||
#undef PCI_ONE_PCI1
|
||||
#endif
|
||||
|
||||
#undef CONFIG_EEPRO100
|
||||
#undef CONFIG_TULIP
|
||||
|
||||
@@ -435,7 +427,7 @@
|
||||
HRCWL_CORE_TO_CSB_1X1)
|
||||
#endif
|
||||
|
||||
#if defined(PCI_64BIT)
|
||||
#if defined(CONFIG_PCI_64BIT)
|
||||
#define CONFIG_SYS_HRCW_HIGH (\
|
||||
HRCWH_PCI_HOST |\
|
||||
HRCWH_64_BIT_PCI |\
|
||||
|
||||
@@ -212,14 +212,6 @@
|
||||
|
||||
#if defined(CONFIG_PCI)
|
||||
|
||||
#define PCI_64BIT
|
||||
#define PCI_ONE_PCI1
|
||||
#if defined(PCI_64BIT)
|
||||
#undef PCI_ALL_PCI1
|
||||
#undef PCI_TWO_PCI1
|
||||
#undef PCI_ONE_PCI1
|
||||
#endif
|
||||
|
||||
#undef CONFIG_EEPRO100
|
||||
#undef CONFIG_TULIP
|
||||
|
||||
@@ -316,7 +308,7 @@
|
||||
HRCWL_VCO_1X2 |\
|
||||
HRCWL_CORE_TO_CSB_2X1)
|
||||
|
||||
#if defined(PCI_64BIT)
|
||||
#if defined(CONFIG_PCI_64BIT)
|
||||
#define CONFIG_SYS_HRCW_HIGH (\
|
||||
HRCWH_PCI_HOST |\
|
||||
HRCWH_64_BIT_PCI |\
|
||||
|
||||
Reference in New Issue
Block a user