platform: generic: allwinner: Support the D1s as well
PATCH 1/1 platform: generic: allwinner: Support the D1s as well
The Allwinner D1s SoC is a stripped-down version of the D1 and D1s boards use "allwinner,sun20i-d1s" as their root compatible string instead of "allwinner,sun20i-d1". So, currently the sun20i override is not selected on them.
Add the D1s compatible to the match table.
Tested on the MangoPi MQ board with the Allwinner F133-A (D1s) SoC.
--- platform/generic/allwinner/sun20i-d1.c | 1 + 1 file changed, 1 insertion(+)
platform/generic/allwinner/sun20i-d1.c +1 -0
@@ -229,6 +229,7 @@ static int sun20i_d1_platform_init(const void *fdt, int nodeoff,static const struct fdt_match sun20i_d1_match[] = { { .compatible ="allwinner,sun20i-d1" }, + { .compatible ="allwinner,sun20i-d1s" }, { }, };
Signature · 7 lines
2.43.0 -- opensbi mailing list [email protected] http://lists.infradead.org/mailman/listinfo/opensbi
Quoted 11 lines · Indrek Kruusa
The Allwinner D1s SoC is a stripped-down version of the D1 and D1s boards use "allwinner,sun20i-d1s" as their root compatible string instead of "allwinner,sun20i-d1". So, currently the sun20i override is not selected on them.
Add the D1s compatible to the match table.
Tested on the MangoPi MQ board with the Allwinner F133-A (D1s) SoC.
Signed-off-by Indrek Kruusa <[email protected]>
LGTM.
Applied this patch to the riscv/opensbi repo.
Thanks,
Anup
Quoted 24 lines
--- platform/generic/allwinner/sun20i-d1.c | 1 + 1 file changed, 1 insertion(+)platform/generic/allwinner/sun20i-d1.c +1
-1@@ -229,6 +229,7 @@ static int sun20i_d1_platform_init(const void *fdt, int nodeoff,static const struct fdt_match sun20i_d1_match[] = { { .compatible ="allwinner,sun20i-d1" }, + { .compatible ="allwinner,sun20i-d1s" }, { }, }; --2.43.0
--
opensbi mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/opensbi
Signature · 3 lines
opensbi mailing list [email protected] http://lists.infradead.org/mailman/listinfo/opensbi