From 63e75fd7a3808df091eb50786519703c5df76b8e Mon Sep 17 00:00:00 2001 From: Zhao Qiang Date: Fri, 26 Sep 2014 16:25:32 +0800 Subject: qe: add qe support to ls1021aqds add qe support to ls1021aqds Signed-off-by: Zhao Qiang Reviewed-by: York Sun --- include/configs/ls1021aqds.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/configs/ls1021aqds.h') 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" \ -- cgit v1.2.1 From 8776cb205e25c4fdba05bd3fb13fe71973cd4c71 Mon Sep 17 00:00:00 2001 From: Nikhil Badola Date: Fri, 17 Oct 2014 11:37:25 +0530 Subject: ls1: config: Enable USB EHCI Host on LS1021AQDS Enable USB EHCI Host on LS1021AQDS Signed-off-by: Nikhil Badola Reviewed-by: York Sun --- include/configs/ls1021aqds.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include/configs/ls1021aqds.h') diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index 6b8ee8dada..8954d9dd44 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -278,6 +278,23 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_FSL_ESDHC #define CONFIG_GENERIC_MMC +/* + * USB + */ +#define CONFIG_HAS_FSL_DR_USB + +#ifdef CONFIG_HAS_FSL_DR_USB +#define CONFIG_USB_EHCI + +#ifdef CONFIG_USB_EHCI +#define CONFIG_CMD_USB +#define CONFIG_USB_STORAGE +#define CONFIG_USB_EHCI_FSL +#define CONFIG_EHCI_HCD_INIT_AFTER_RESET +#define CONFIG_CMD_EXT2 +#endif +#endif + /* * eTSEC */ -- cgit v1.2.1 From 272c5265ed8f4bf1f02f2d2b38828fbf8939cac3 Mon Sep 17 00:00:00 2001 From: Yuan Yao Date: Fri, 17 Oct 2014 15:26:34 +0800 Subject: ls102xa: ifc: nor: fix the write issue when bytes unaligned Add define CONFIG_SYS_WRITE_SWAPPED_DATA. For LS1021AQDS and LS1021QTWR nor flash write should swap the bytes when handle unaligned tail bytes. Because of the ending, if the date bus width is 16-bits and the number of bytes is odd, we should swap the byte when write the last one. Signed-off-by: Yuan Yao Reviewed-by: York Sun --- include/configs/ls1021aqds.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/ls1021aqds.h') diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index 8954d9dd44..bb9fbedea5 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -115,6 +115,7 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_SYS_FLASH_QUIET_TEST #define CONFIG_FLASH_SHOW_PROGRESS 45 #define CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS +#define CONFIG_SYS_WRITE_SWAPPED_DATA #define CONFIG_SYS_MAX_FLASH_BANKS 2 /* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 1024 /* sectors per device */ -- cgit v1.2.1