generic/4.4: remove ISSI SI25CD512 SPI flash support patch
[openwrt/openwrt.git] / target / linux / mediatek / patches / 0065-arm-mediatek-add-mt7623-smp-support.patch
1 From 3f181d60fcd80b0d98849076ed2aa43de2cb6d8c Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Sat, 27 Jun 2015 13:16:27 +0200
4 Subject: [PATCH 65/76] arm: mediatek: add mt7623 smp support
5
6 Signed-off-by: John Crispin <blogic@openwrt.org>
7 ---
8 arch/arm/mach-mediatek/platsmp.c | 7 +++++++
9 1 file changed, 7 insertions(+)
10
11 --- a/arch/arm/mach-mediatek/platsmp.c
12 +++ b/arch/arm/mach-mediatek/platsmp.c
13 @@ -45,6 +45,12 @@ static const struct mtk_smp_boot_info mt
14 { 0x38, 0x3c, 0x40 },
15 };
16
17 +static const struct mtk_smp_boot_info mtk_mt7623_boot = {
18 + 0x10202000, 0x34, 0x30,
19 + { 0x534c4131, 0x4c415332, 0x41534c33 },
20 + { 0x38, 0x3c, 0x40 },
21 +};
22 +
23 static const struct of_device_id mtk_tz_smp_boot_infos[] __initconst = {
24 { .compatible = "mediatek,mt8135", .data = &mtk_mt8135_tz_boot },
25 { .compatible = "mediatek,mt8127", .data = &mtk_mt8135_tz_boot },
26 @@ -52,6 +58,7 @@ static const struct of_device_id mtk_tz_
27
28 static const struct of_device_id mtk_smp_boot_infos[] __initconst = {
29 { .compatible = "mediatek,mt6589", .data = &mtk_mt6589_boot },
30 + { .compatible = "mediatek,mt7623", .data = &mtk_mt7623_boot },
31 };
32
33 static void __iomem *mtk_smp_base;