2018-12-02 11:40:00

by Lubomir Rintel

[permalink] [raw]
Subject: [PATCH] ARM: mmp2: DT: be compatible with mrvl,mmp2

There are more boards that can work with mmp2-dt than just Brownstone.
The OLPC XO-1.75 device tree root is compatible with "mrvl,mmp2" only.

The "mrvl,mmp2-brownstone" string is safe to remove: the Brownstone
device tree contains the "mrvl,mmp2" compatible string too.

Signed-off-by: Lubomir Rintel <[email protected]>
---
arch/arm/mach-mmp/mmp2-dt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c
index 0341359b24a4..81232ecf08be 100644
--- a/arch/arm/mach-mmp/mmp2-dt.c
+++ b/arch/arm/mach-mmp/mmp2-dt.c
@@ -31,7 +31,7 @@ static void __init mmp_init_time(void)
}

static const char *const mmp2_dt_board_compat[] __initconst = {
- "mrvl,mmp2-brownstone",
+ "mrvl,mmp2",
NULL,
};

--
2.19.1



2018-12-03 21:19:18

by Olof Johansson

[permalink] [raw]
Subject: Re: [PATCH] ARM: mmp2: DT: be compatible with mrvl,mmp2

On Sun, Dec 02, 2018 at 12:38:48PM +0100, Lubomir Rintel wrote:
> There are more boards that can work with mmp2-dt than just Brownstone.
> The OLPC XO-1.75 device tree root is compatible with "mrvl,mmp2" only.
>
> The "mrvl,mmp2-brownstone" string is safe to remove: the Brownstone
> device tree contains the "mrvl,mmp2" compatible string too.
>
> Signed-off-by: Lubomir Rintel <[email protected]>

Applied to next/dt. Thanks!


-Olof