[PATCH] platform: generic: thead: add Sophgo CV18XX/SG200X series
Anup Patel
anup at brainfault.org
Wed May 15 22:46:00 PDT 2024
On Tue, May 14, 2024 at 10:23 AM Inochi Amaoto <inochiama at outlook.com> wrote:
>
> The Sophgo CV18XX/SG200X series SoCs have a standard C906
> core. Add support for it.
>
> Signed-off-by: Inochi Amaoto <inochiama at outlook.com>
LGTM.
Reviewed-by: Anup Patel <anup at brainfault.org>
Applied this patch to the riscv/opensbi repo.
Thanks,
Anup
> ---
> platform/generic/thead/thead-generic.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/platform/generic/thead/thead-generic.c b/platform/generic/thead/thead-generic.c
> index 3b59a0d..c82e0c1 100644
> --- a/platform/generic/thead/thead-generic.c
> +++ b/platform/generic/thead/thead-generic.c
> @@ -49,7 +49,15 @@ static struct thead_generic_quirks canaan_k230_quirks = {
> .errata = THEAD_QUIRK_ERRATA_THEAD_PMU,
> };
>
> +static struct thead_generic_quirks sophgo_cv1800_quirks = {
> + .errata = THEAD_QUIRK_ERRATA_THEAD_PMU,
> +};
> +
> static const struct fdt_match thead_generic_match[] = {
> + { .compatible = "sophgo,cv1800b", .data = &sophgo_cv1800_quirks },
> + { .compatible = "sophgo,cv1812h", .data = &sophgo_cv1800_quirks },
> + { .compatible = "sophgo,sg2000", .data = &sophgo_cv1800_quirks },
> + { .compatible = "sophgo,sg2002", .data = &sophgo_cv1800_quirks },
> { .compatible = "thead,th1520", .data = &thead_th1520_quirks },
> { .compatible = "canaan,kendryte-k230", .data = &canaan_k230_quirks },
> { },
> --
> 2.45.0
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi
More information about the opensbi
mailing list