summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-05-22 13:21:39 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-07-21 00:40:16 -0500
commitaf0250652a775799da656f74719bdefb45fda7d5 (patch)
tree337b48483a5983e2cfef667ae5063f6da1f165e0 /include
parentc26de2d8b15c15fdc0a33758fa7714667eec404c (diff)
downloadu-boot-imx-af0250652a775799da656f74719bdefb45fda7d5.zip
u-boot-imx-af0250652a775799da656f74719bdefb45fda7d5.tar.gz
u-boot-imx-af0250652a775799da656f74719bdefb45fda7d5.tar.bz2
powerpc/85xx: Rework MPC8536 SERDES is_serdes_configured support
Move serdes init until after we are in ram so we can keep track of a global static protocal map for the particular serdes config we are in. This makes is_serdes_configured() much simplier and not constantly reading registers to determine if a given device is enabled based on the protocol. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/MPC8536DS.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index 24a75c6..890a6c9 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -65,6 +65,7 @@
#define CONFIG_FSL_PCI_INIT 1 /* Use common FSL init code */
#define CONFIG_FSL_PCIE_RESET 1 /* need PCIe reset errata */
#define CONFIG_SYS_PCI_64BIT 1 /* enable 64-bit PCI resources */
+#define CONFIG_SYS_HAS_SERDES /* has SERDES */
#define CONFIG_FSL_LAW 1 /* Use common FSL init code */
#define CONFIG_E1000 1 /* Defind e1000 pci Ethernet card*/