qe: add qe support for ls1021a-twr board
authorZhao Qiang <B45475@freescale.com>
Fri, 26 Sep 2014 08:25:33 +0000 (16:25 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 19 Nov 2014 20:56:09 +0000 (12:56 -0800)
Signed-off-by: Zhao Qiang <B45475@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/ls1021atwr/ls1021atwr.c
include/configs/ls1021atwr.h

index 50d564055b173ddd2ee46db63b2797168e7e2544..a90bb09152aee9db17a28184c0831ffc73489873 100644 (file)
 #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;
 }
 
index 3c73af8ac39dc6663fa0db3ed5d91eb9c3601618..96b1547963109ba5e2154639ce79a3b82c4722c7 100644 (file)
 
 #define CONFIG_FSL_CAAM                        /* Enable CAAM */
 
+#if !defined(CONFIG_SDCARD) && !defined(CONFIG_NAND) && !defined(CONFIG_SPI)
+#define CONFIG_U_QE
+#endif
+
 /*
  * IFC Definitions
  */
 
 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE    /* start of monitor */
 
+#define CONFIG_SYS_QE_FW_ADDR     0x67f40000
+
 /*
  * Environment
  */