]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
qe: add qe support to ls1021aqds
authorZhao Qiang <B45475@freescale.com>
Fri, 26 Sep 2014 08:25:32 +0000 (16:25 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 19 Nov 2014 20:56:04 +0000 (12:56 -0800)
add qe support to ls1021aqds

Signed-off-by: Zhao Qiang <B45475@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/ls1021aqds/ls1021aqds.c
include/configs/ls1021aqds.h

index 5fafc8567207d3d777f40567dfb90aec92670196..bcfa9b9556ff49132796c5c80147f513d3192a12 100644 (file)
@@ -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;
 }
 
index d1f6ea7e7b0e6d5f1efcda54eca34af3cd3d3b3c..6b8ee8dadaf76d9a2c7a29102ecdf29bd6d40bfb 100644 (file)
@@ -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"         \