summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-07-11 12:41:46 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-07-21 00:40:20 -0500
commit47ec10c5975f0ce8f4a748c7b76c45c0fb60c0ac (patch)
tree31dba9a9d0ba2c1b0149f5fab00c66f59326027c /include
parentaf0250652a775799da656f74719bdefb45fda7d5 (diff)
downloadu-boot-imx-47ec10c5975f0ce8f4a748c7b76c45c0fb60c0ac.zip
u-boot-imx-47ec10c5975f0ce8f4a748c7b76c45c0fb60c0ac.tar.gz
u-boot-imx-47ec10c5975f0ce8f4a748c7b76c45c0fb60c0ac.tar.bz2
powerpc/85xx: Rework P1022 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/P1022DS.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index d31b550..f9d12f5 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -30,6 +30,7 @@
#define CONFIG_FSL_PCI_INIT /* Use common FSL init code */
#define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */
#define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
+#define CONFIG_SYS_HAS_SERDES /* has SERDES */
#define CONFIG_PHYS_64BIT
#define CONFIG_ENABLE_36BIT_PHYS