Browse Source

platform: generic: starfive: Changing naming from jh8100 to dubhe

Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
Wei Liang Lim 5 months ago
parent
commit
8ce81d0fbc

+ 4 - 5
platform/generic/starfive/jh8100.c → 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,
 };

+ 3 - 3
platform/generic/starfive/jh8100.h → 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_ */

+ 2 - 2
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