layerscape: add 64b/32b target for ls1012ardb device
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 1089-mtd-spi-nor-fsl-quadspi-add-support-for-layerscape.patch
1 From 9c6153130081ef2c109e2a243a598f2bc0dc6413 Mon Sep 17 00:00:00 2001
2 From: Yuan Yao <yao.yuan@freescale.com>
3 Date: Tue, 17 Nov 2015 17:06:47 +0800
4 Subject: [PATCH 089/113] mtd: spi-nor: fsl-quadspi: add support for
5 layerscape
6
7 [context adjustment]
8
9 LS1043a and LS2080A in the Layerscape family also support Freescale Quad
10 SPI, make Quad SPI selectable for these hardwares.
11
12 Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
13 Integrated-by: Jiang Yutang <yutang.jiang@nxp.com>
14 ---
15 drivers/mtd/spi-nor/Kconfig | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- a/drivers/mtd/spi-nor/Kconfig
19 +++ b/drivers/mtd/spi-nor/Kconfig
20 @@ -23,7 +23,7 @@ config MTD_SPI_NOR_USE_4K_SECTORS
21
22 config SPI_FSL_QUADSPI
23 tristate "Freescale Quad SPI controller"
24 - depends on ARCH_MXC || SOC_LS1021A || COMPILE_TEST
25 + depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
26 depends on HAS_IOMEM
27 help
28 This enables support for the Quad SPI controller in master mode.