diff options
author | Wei Liang Lim <weiliang.lim@starfivetech.com> | 2023-12-01 18:14:15 +0300 |
---|---|---|
committer | Wei Liang Lim <weiliang.lim@starfivetech.com> | 2023-12-01 18:14:15 +0300 |
commit | 8ce81d0fbcbb10d4ad9e924c8cd64925b79e0cb6 (patch) | |
tree | 1cbe18738902e003105f48aeed84a8bcf4507169 | |
parent | a10e0837f215fb4ed25f195f2c511a41deb9c324 (diff) | |
download | opensbi-8ce81d0fbcbb10d4ad9e924c8cd64925b79e0cb6.tar.xz |
platform: generic: starfive: Changing naming from jh8100 to dubheREL_DUBHE_DEC2023starfive-v1.2-dubhe
Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
-rw-r--r-- | platform/generic/starfive/dubhe.c (renamed from platform/generic/starfive/jh8100.c) | 9 | ||||
-rw-r--r-- | platform/generic/starfive/dubhe.h (renamed from platform/generic/starfive/jh8100.h) | 6 | ||||
-rw-r--r-- | platform/generic/starfive/objects.mk | 4 |
3 files changed, 9 insertions, 10 deletions
diff --git a/platform/generic/starfive/jh8100.c b/platform/generic/starfive/dubhe.c index b11ffcf..95ef611 100644 --- a/platform/generic/starfive/jh8100.c +++ b/platform/generic/starfive/dubhe.c @@ -8,7 +8,7 @@ */ #include <cache.h> -#include <jh8100.h> +#include <dubhe.h> #include <platform_override.h> #include <sbi/sbi_console.h> #include <sbi_utils/fdt/fdt_helper.h> @@ -36,13 +36,12 @@ static int starfive_vendor_ext_provider(long extid, long funcid, return ret; } -static const struct fdt_match starfive_jh8xxx_match[] = { +static const struct fdt_match starfive_dubhe_match[] = { { .compatible = "starfive,dubhe" }, - { .compatible = "starfive,jh8100" }, { }, }; -const struct platform_override starfive_jh8xxx = { - .match_table = starfive_jh8xxx_match, +const struct platform_override starfive_dubhe = { + .match_table = starfive_dubhe_match, .vendor_ext_provider = starfive_vendor_ext_provider, }; diff --git a/platform/generic/starfive/jh8100.h b/platform/generic/starfive/dubhe.h index c905f84..3326cf6 100644 --- a/platform/generic/starfive/jh8100.h +++ b/platform/generic/starfive/dubhe.h @@ -7,12 +7,12 @@ * */ -#ifndef _STARFIVE_JH8100_H_ -#define _STARFIVE_JH8100_H_ +#ifndef _STARFIVE_DUBHE_H_ +#define _STARFIVE_DUBHE_H_ enum sbi_ext_dubhe_cmo_fid { SBI_EXT_STARFIVE_DUBHE_L2_FLUSH = 0, SBI_EXT_STARFIVE_DUBHE_L2_INVALIDATE, }; -#endif /* _STARFIVE_JH8100_H_ */ +#endif /* _STARFIVE_DUBHE_H_ */ diff --git a/platform/generic/starfive/objects.mk b/platform/generic/starfive/objects.mk index 0baa9f7..931d966 100644 --- a/platform/generic/starfive/objects.mk +++ b/platform/generic/starfive/objects.mk @@ -6,6 +6,6 @@ # Author: Jun Liang Tan <junliang.tan@linux.starfivetech.com> # -carray-platform_override_modules-y += starfive_jh8xxx +carray-platform_override_modules-y += starfive_dubhe platform-objs-y += starfive/dubhe_cache.o -platform-objs-y += starfive/jh8100.o +platform-objs-y += starfive/dubhe.o |