1 From b7d11ec865f99085a907f1a082f70404734e954c Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Tue, 5 Jan 2016 17:24:28 +0100
4 Subject: [PATCH 28/81] ARM: mediatek: add MT7623 smp bringup code
6 Add support for booting secondary CPUs on MT7623.
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
11 arch/arm/mach-mediatek/platsmp.c | 7 +++++++
12 1 file changed, 7 insertions(+)
14 --- a/arch/arm/mach-mediatek/platsmp.c
15 +++ b/arch/arm/mach-mediatek/platsmp.c
16 @@ -44,6 +44,12 @@ static const struct mtk_smp_boot_info mt
20 +static const struct mtk_smp_boot_info mtk_mt7623_boot = {
22 + { 0x534c4131, 0x4c415332, 0x41534c33 },
23 + { 0x38, 0x3c, 0x40 },
26 static const struct of_device_id mtk_tz_smp_boot_infos[] __initconst = {
27 { .compatible = "mediatek,mt8135", .data = &mtk_mt8135_tz_boot },
28 { .compatible = "mediatek,mt8127", .data = &mtk_mt8135_tz_boot },
29 @@ -51,6 +57,7 @@ static const struct of_device_id mtk_tz_
31 static const struct of_device_id mtk_smp_boot_infos[] __initconst = {
32 { .compatible = "mediatek,mt6589", .data = &mtk_mt6589_boot },
33 + { .compatible = "mediatek,mt7623", .data = &mtk_mt7623_boot },
36 static void __iomem *mtk_smp_base;