[U-Boot] [PATCH 2/3] qe: add qe support to ls1021aqds
Zhao Qiang
qiang.zhao at freescale.com
Wed Sep 16 09:54:59 CEST 2015
add qe support MACRO to ls1021aqds head file
Signed-off-by: Zhao Qiang <qiang.zhao at freescale.com>
---
board/freescale/ls1021aqds/ls1021aqds.c | 8 ++++++++
include/configs/ls1021aqds.h | 6 ++++++
2 files changed, 14 insertions(+)
diff --git a/board/freescale/ls1021aqds/ls1021aqds.c b/board/freescale/ls1021aqds/ls1021aqds.c
index 12e83f7..3bc4a68 100644
--- a/board/freescale/ls1021aqds/ls1021aqds.c
+++ b/board/freescale/ls1021aqds/ls1021aqds.c
@@ -16,6 +16,9 @@
#include "../common/qixis.h"
#include "ls1021aqds_qixis.h"
+#ifdef CONFIG_U_QE
+#include "../../../drivers/qe/qe.h"
+#endif
DECLARE_GLOBAL_DATA_PTR;
@@ -227,6 +230,11 @@ int board_init(void)
fsl_serdes_init();
config_serdes_mux();
#endif
+
+#ifdef CONFIG_U_QE
+ u_qe_init();
+#endif
+
return 0;
}
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index bb47813..ee23af4 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -69,6 +69,10 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SYS_HAS_SERDES
+#if !defined(CONFIG_SDCARD) && !defined(CONFIG_NAND) && !defined(CONFIG_SPI)
+#define CONFIG_U_QE
+#endif
+
/*
* IFC Definitions
*/
@@ -331,6 +335,8 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_BOOTDELAY 3
+#define CONFIG_SYS_QE_FW_ADDR 0x600c0000
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \
"fdt_high=0xcfffffff\0" \
--
2.1.0.27.g96db324
More information about the U-Boot
mailing list