summaryrefslogtreecommitdiff
path: root/board/highbank/highbank.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/highbank/highbank.c')
-rw-r--r--board/highbank/highbank.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c
index e8132b842f..469ee8e114 100644
--- a/board/highbank/highbank.c
+++ b/board/highbank/highbank.c
@@ -35,6 +35,8 @@
DECLARE_GLOBAL_DATA_PTR;
+void cphy_disable_overrides(void);
+
/*
* Miscellaneous platform dependent initialisations
*/
@@ -62,6 +64,7 @@ void scsi_init(void)
{
u32 reg = readl(HB_SREG_A9_PWRDOM_STAT);
+ cphy_disable_overrides();
if (reg & PWRDOM_STAT_SATA) {
ahci_init((void __iomem *)HB_AHCI_BASE);
scsi_scan(1);
@@ -136,3 +139,12 @@ void reset_cpu(ulong addr)
wfi();
}
+
+/*
+ * turn off the override before transferring control to Linux, since Linux
+ * may not support spread spectrum.
+ */
+void arch_preboot_os(void)
+{
+ cphy_disable_overrides();
+}