summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorQianyu Gong <qianyu.gong@nxp.com>2016-06-13 11:20:31 +0800
committerYork Sun <york.sun@nxp.com>2016-06-28 12:08:43 -0700
commit581ff00bf7d276dadaa793aa1fc20b54d7b89e6a (patch)
tree52116e3d1183636ac376dab10d9e9c265b7b47b7 /include
parenta2fd238e4923d0b0e10d4ca24ad6410244d8ea6c (diff)
downloadblackbird-obmc-uboot-581ff00bf7d276dadaa793aa1fc20b54d7b89e6a.tar.gz
blackbird-obmc-uboot-581ff00bf7d276dadaa793aa1fc20b54d7b89e6a.zip
armv8: ls1043aqds: use configurable clock
Get the clocks from FPGA through I2C, if IFC is disabled. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1043aqds.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
index a19eaee5a9..520b28c5fb 100644
--- a/include/configs/ls1043aqds.h
+++ b/include/configs/ls1043aqds.h
@@ -29,8 +29,8 @@ unsigned long get_board_sys_clk(void);
unsigned long get_board_ddr_clk(void);
#endif
-#define CONFIG_SYS_CLK_FREQ 100000000
-#define CONFIG_DDR_CLK_FREQ 100000000
+#define CONFIG_SYS_CLK_FREQ get_board_sys_clk()
+#define CONFIG_DDR_CLK_FREQ get_board_ddr_clk()
#define CONFIG_SKIP_LOWLEVEL_INIT
@@ -225,6 +225,7 @@ unsigned long get_board_ddr_clk(void);
#if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
#define CONFIG_QIXIS_I2C_ACCESS
+#define CONFIG_SYS_I2C_EARLY_INIT
#define CONFIG_SYS_NO_FLASH
#endif
OpenPOWER on IntegriCloud