[1/7] Revert "ARM: mediatek: add MT7623a smp bringup code"
diff mbox series

Message ID d1ab6c89b115ad0582815816490fa0c13ea83178.1548735271.git.ryder.lee@mediatek.com
State New
Headers show
Series
  • [1/7] Revert "ARM: mediatek: add MT7623a smp bringup code"
Related show

Commit Message

Ryder Lee Jan. 29, 2019, 4:28 a.m. UTC
This reverts commit 3b99ab7deca1e5f4229b4bdecd005d71e22cfc60.

The compatible "mediatek,mt7623a" is useless, so remove it.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
---
 arch/arm/mach-mediatek/mediatek.c | 2 --
 arch/arm/mach-mediatek/platsmp.c  | 1 -
 2 files changed, 3 deletions(-)

Comments

Matthias Brugger Feb. 7, 2019, 4:47 p.m. UTC | #1
On 29/01/2019 05:28, Ryder Lee wrote:
> This reverts commit 3b99ab7deca1e5f4229b4bdecd005d71e22cfc60.
> 
> The compatible "mediatek,mt7623a" is useless, so remove it.
> 
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>

pushed to v5.0-next/soc

Thanks!

> ---
>  arch/arm/mach-mediatek/mediatek.c | 2 --
>  arch/arm/mach-mediatek/platsmp.c  | 1 -
>  2 files changed, 3 deletions(-)
> 
> diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
> index 6910b4e..c3cf215 100644
> --- a/arch/arm/mach-mediatek/mediatek.c
> +++ b/arch/arm/mach-mediatek/mediatek.c
> @@ -30,7 +30,6 @@ static void __init mediatek_timer_init(void)
>  
>  	if (of_machine_is_compatible("mediatek,mt6589") ||
>  	    of_machine_is_compatible("mediatek,mt7623") ||
> -	    of_machine_is_compatible("mediatek,mt7623a") ||
>  	    of_machine_is_compatible("mediatek,mt8135") ||
>  	    of_machine_is_compatible("mediatek,mt8127")) {
>  		/* turn on GPT6 which ungates arch timer clocks */
> @@ -50,7 +49,6 @@ static void __init mediatek_timer_init(void)
>  	"mediatek,mt6589",
>  	"mediatek,mt6592",
>  	"mediatek,mt7623",
> -	"mediatek,mt7623a",
>  	"mediatek,mt8127",
>  	"mediatek,mt8135",
>  	NULL,
> diff --git a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c
> index 6882ff0..51e8556 100644
> --- a/arch/arm/mach-mediatek/platsmp.c
> +++ b/arch/arm/mach-mediatek/platsmp.c
> @@ -60,7 +60,6 @@ struct mtk_smp_boot_info {
>  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,mt7623a", .data = &mtk_mt7623_boot },
>  	{},
>  };
>  
>

Patch
diff mbox series

diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
index 6910b4e..c3cf215 100644
--- a/arch/arm/mach-mediatek/mediatek.c
+++ b/arch/arm/mach-mediatek/mediatek.c
@@ -30,7 +30,6 @@  static void __init mediatek_timer_init(void)
 
 	if (of_machine_is_compatible("mediatek,mt6589") ||
 	    of_machine_is_compatible("mediatek,mt7623") ||
-	    of_machine_is_compatible("mediatek,mt7623a") ||
 	    of_machine_is_compatible("mediatek,mt8135") ||
 	    of_machine_is_compatible("mediatek,mt8127")) {
 		/* turn on GPT6 which ungates arch timer clocks */
@@ -50,7 +49,6 @@  static void __init mediatek_timer_init(void)
 	"mediatek,mt6589",
 	"mediatek,mt6592",
 	"mediatek,mt7623",
-	"mediatek,mt7623a",
 	"mediatek,mt8127",
 	"mediatek,mt8135",
 	NULL,
diff --git a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c
index 6882ff0..51e8556 100644
--- a/arch/arm/mach-mediatek/platsmp.c
+++ b/arch/arm/mach-mediatek/platsmp.c
@@ -60,7 +60,6 @@  struct mtk_smp_boot_info {
 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,mt7623a", .data = &mtk_mt7623_boot },
 	{},
 };