summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Qiang <B45475@freescale.com>2014-09-26 16:25:32 +0800
committerYork Sun <yorksun@freescale.com>2014-11-19 12:56:04 -0800
commit63e75fd7a3808df091eb50786519703c5df76b8e (patch)
tree428f299f55a556f00df65010d92d24cb1ecce1f8
parent93d3320417b16f331d5edb87409cd7a347c4eeaa (diff)
downloadblackbird-obmc-uboot-63e75fd7a3808df091eb50786519703c5df76b8e.tar.gz
blackbird-obmc-uboot-63e75fd7a3808df091eb50786519703c5df76b8e.zip
qe: add qe support to ls1021aqds
add qe support to ls1021aqds Signed-off-by: Zhao Qiang <B45475@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r--board/freescale/ls1021aqds/ls1021aqds.c8
-rw-r--r--include/configs/ls1021aqds.h7
2 files changed, 15 insertions, 0 deletions
diff --git a/board/freescale/ls1021aqds/ls1021aqds.c b/board/freescale/ls1021aqds/ls1021aqds.c
index 5fafc85672..bcfa9b9556 100644
--- a/board/freescale/ls1021aqds/ls1021aqds.c
+++ b/board/freescale/ls1021aqds/ls1021aqds.c
@@ -17,6 +17,9 @@
#include "../common/qixis.h"
#include "ls1021aqds_qixis.h"
+#ifdef CONFIG_U_QE
+#include "../../../drivers/qe/qe.h"
+#endif
DECLARE_GLOBAL_DATA_PTR;
@@ -237,6 +240,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 d1f6ea7e7b..6b8ee8dada 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -70,6 +70,11 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SYS_HAS_SERDES
#define CONFIG_FSL_CAAM /* Enable CAAM */
+
+#if !defined(CONFIG_SDCARD) && !defined(CONFIG_NAND) && !defined(CONFIG_SPI)
+#define CONFIG_U_QE
+#endif
+
/*
* IFC Definitions
*/
@@ -332,6 +337,8 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_BOOTDELAY 3
+#define CONFIG_SYS_QE_FW_ADDR 0x67f40000
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \
"fdt_high=0xcfffffff\0" \
OpenPOWER on IntegriCloud