layerscape: add 64b/32b target for ls1012ardb device
[openwrt/staging/wigyori.git] / package / boot / uboot-layerscape / patches / 0032-driver-spi-fsl_qspi-enable-AHB-read-for-qspi.patch
1 From c67f214546a9d8ac00b9b947c145f4c032def8e2 Mon Sep 17 00:00:00 2001
2 From: Yunhui Cui <yunhui.cui@nxp.com>
3 Date: Mon, 16 May 2016 14:39:52 +0800
4 Subject: [PATCH 32/93] driver: spi: fsl_qspi: enable AHB read for qspi
5
6 If we don't enable the AHB read for ls1012a, input 'md 0x40000000',
7 'md 0x41000000','md 0x42000000' address will be overlapped.
8 After QSPI controller initialization for AHB, 'md 0x...' will access
9 the whole QSPI flash address space.
10
11 Signed-off-by: Yunhui Cui <yunhui.cui@nxp.com>
12 ---
13 include/configs/ls1012a_common.h | 1 +
14 1 file changed, 1 insertion(+)
15
16 diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
17 index 150444d..121824c 100644
18 --- a/include/configs/ls1012a_common.h
19 +++ b/include/configs/ls1012a_common.h
20 @@ -66,6 +66,7 @@
21
22 #define FSL_QSPI_FLASH_SIZE (1 << 26)
23 #define FSL_QSPI_FLASH_NUM 2
24 +#define CONFIG_SYS_FSL_QSPI_AHB
25
26 /*
27 * Environment
28 --
29 1.7.9.5
30