diff options
author | Zhao Qiang <B45475@freescale.com> | 2014-09-26 16:25:33 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-11-19 12:56:09 -0800 |
commit | eaa859e7d23172acb68b3096beb083ba2e42d6c3 (patch) | |
tree | c684137fd3c74883d72a2ed122787a10696eb560 | |
parent | 63e75fd7a3808df091eb50786519703c5df76b8e (diff) | |
download | u-boot-imx-eaa859e7d23172acb68b3096beb083ba2e42d6c3.zip u-boot-imx-eaa859e7d23172acb68b3096beb083ba2e42d6c3.tar.gz u-boot-imx-eaa859e7d23172acb68b3096beb083ba2e42d6c3.tar.bz2 |
qe: add qe support for ls1021a-twr board
Signed-off-by: Zhao Qiang <B45475@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r-- | board/freescale/ls1021atwr/ls1021atwr.c | 8 | ||||
-rw-r--r-- | include/configs/ls1021atwr.h | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c index 50d5640..a90bb09 100644 --- a/board/freescale/ls1021atwr/ls1021atwr.c +++ b/board/freescale/ls1021atwr/ls1021atwr.c @@ -17,6 +17,10 @@ #include <fsl_mdio.h> #include <tsec.h> #include <fsl_sec.h> +#ifdef CONFIG_U_QE +#include "../../../drivers/qe/qe.h" +#endif + DECLARE_GLOBAL_DATA_PTR; @@ -278,6 +282,10 @@ int board_init(void) config_serdes_mux(); #endif +#ifdef CONFIG_U_QE + u_qe_init(); +#endif + return 0; } diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index 3c73af8..96b1547 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -50,6 +50,10 @@ #define CONFIG_FSL_CAAM /* Enable CAAM */ +#if !defined(CONFIG_SDCARD) && !defined(CONFIG_NAND) && !defined(CONFIG_SPI) +#define CONFIG_U_QE +#endif + /* * IFC Definitions */ @@ -275,6 +279,8 @@ #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE /* start of monitor */ +#define CONFIG_SYS_QE_FW_ADDR 0x67f40000 + /* * Environment */ |