arm: mediatek: add MT7629 smp bring up code
authorRyder Lee <ryder.lee@mediatek.com>
Tue, 29 Jan 2019 04:31:18 +0000 (12:31 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 7 Feb 2019 16:59:16 +0000 (17:59 +0100)
Add support for booting secondary CPUs on MT7629.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/mach-mediatek/Kconfig
arch/arm/mach-mediatek/mediatek.c
arch/arm/mach-mediatek/platsmp.c

index 91cc461..11ed264 100644 (file)
@@ -26,6 +26,10 @@ config MACH_MT7623
        bool "MediaTek MT7623 SoCs support"
        default ARCH_MEDIATEK
 
+config MACH_MT7629
+       bool "MediaTek MT7629 SoCs support"
+       default ARCH_MEDIATEK
+
 config MACH_MT8127
        bool "MediaTek MT8127 SoCs support"
        default ARCH_MEDIATEK
index c3cf215..b6a81ba 100644 (file)
@@ -49,6 +49,7 @@ static const char * const mediatek_board_dt_compat[] = {
        "mediatek,mt6589",
        "mediatek,mt6592",
        "mediatek,mt7623",
+       "mediatek,mt7629",
        "mediatek,mt8127",
        "mediatek,mt8135",
        NULL,
index 51e8556..c9d7c04 100644 (file)
@@ -60,6 +60,7 @@ static const struct of_device_id mtk_tz_smp_boot_infos[] __initconst = {
 static const struct of_device_id mtk_smp_boot_infos[] __initconst = {
        { .compatible   = "mediatek,mt6589", .data = &mtk_mt6589_boot },
        { .compatible   = "mediatek,mt7623", .data = &mtk_mt7623_boot },
+       { .compatible   = "mediatek,mt7629", .data = &mtk_mt7623_boot },
        {},
 };