layerscape: add 64b/32b target for ls1012ardb device
[openwrt/openwrt.git] / package / boot / uboot-layerscape / patches / 0048-armv8-ls1012a-enable-sdhc2-support.patch
1 From a75fda9a1a7d635d1714df52068cc9fb7988e2c7 Mon Sep 17 00:00:00 2001
2 From: Yangbo Lu <yangbo.lu@nxp.com>
3 Date: Fri, 3 Jun 2016 11:40:09 +0800
4 Subject: [PATCH 48/93] armv8: ls1012a: enable sdhc2 support
5
6 A previous patch shifting board specific configurations missed
7 the sdhc2 support. This patch is to fix it.
8
9 Fixes: df5f76d71e30 ("Shift board specific configurations")
10 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
11 ---
12 include/configs/ls1012aqds.h | 2 ++
13 include/configs/ls1012ardb.h | 2 ++
14 2 files changed, 4 insertions(+)
15
16 diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
17 index 1fa7b6f..cc8e0fc 100644
18 --- a/include/configs/ls1012aqds.h
19 +++ b/include/configs/ls1012aqds.h
20 @@ -30,6 +30,8 @@
21 #ifdef CONFIG_MMC
22 #define CONFIG_CMD_MMC
23 #define CONFIG_FSL_ESDHC
24 +#define CONFIG_FSL_ESDHC_TWO_CONTROLLERS_SUPPORT
25 +#define CONFIG_FSL_ESDHC_1_NON_REMOVABLE_CARD
26 #define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
27 #define CONFIG_GENERIC_MMC
28 #define CONFIG_CMD_FAT
29 diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
30 index 23722e0..2eee84a 100644
31 --- a/include/configs/ls1012ardb.h
32 +++ b/include/configs/ls1012ardb.h
33 @@ -64,6 +64,8 @@
34 #ifdef CONFIG_MMC
35 #define CONFIG_CMD_MMC
36 #define CONFIG_FSL_ESDHC
37 +#define CONFIG_FSL_ESDHC_TWO_CONTROLLERS_SUPPORT
38 +#define CONFIG_FSL_ESDHC_1_NON_REMOVABLE_CARD
39 #define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
40 #define CONFIG_GENERIC_MMC
41 #define CONFIG_CMD_FAT
42 --
43 1.7.9.5
44