diff options
Diffstat (limited to 'platform/generic/renesas')
-rw-r--r-- | platform/generic/renesas/rzfive/objects.mk | 8 | ||||
-rw-r--r-- | platform/generic/renesas/rzfive/rzfive.c | 17 |
2 files changed, 25 insertions, 0 deletions
diff --git a/platform/generic/renesas/rzfive/objects.mk b/platform/generic/renesas/rzfive/objects.mk new file mode 100644 index 0000000..2e7e37f --- /dev/null +++ b/platform/generic/renesas/rzfive/objects.mk @@ -0,0 +1,8 @@ +# +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (C) 2022 Renesas Electronics Corp. +# + +carray-platform_override_modules-$(CONFIG_PLATFORM_RENESAS_RZFIVE) += renesas_rzfive +platform-objs-$(CONFIG_PLATFORM_RENESAS_RZFIVE) += renesas/rzfive/rzfive.o diff --git a/platform/generic/renesas/rzfive/rzfive.c b/platform/generic/renesas/rzfive/rzfive.c new file mode 100644 index 0000000..ca182e3 --- /dev/null +++ b/platform/generic/renesas/rzfive/rzfive.c @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2022 Renesas Electronics Corp. + * + */ + +#include <platform_override.h> +#include <sbi_utils/fdt/fdt_helper.h> + +static const struct fdt_match renesas_rzfive_match[] = { + { .compatible = "renesas,r9a07g043f01" }, + { /* sentinel */ } +}; + +const struct platform_override renesas_rzfive = { + .match_table = renesas_rzfive_match, +}; |