Medis:wave5: Remove inexistent including 03/299603/2
authorSom Qin <som.qin@starfivetech.com>
Wed, 30 Aug 2023 06:10:50 +0000 (14:10 +0800)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 5 Oct 2023 09:27:53 +0000 (18:27 +0900)
File sifive_l2_cache.h is inexistent in sdk 6.1 version.

Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit ed137a80cd88 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel
 - Change sifive cache flush function name properly]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Id9d63d72fab1ab0ddeecdb46aeaa19cb0045ed36

drivers/media/platform/chips-media/wave5/wave5-vdi.c

index 4a0e4b8..9301dd2 100644 (file)
 #include "wave5-vpu.h"
 #include "wave5-regdefine.h"
 #include <linux/delay.h>
+
 #ifdef CONFIG_SIFIVE_FLUSH
-#include <soc/sifive/sifive_l2_cache.h>
+extern void sifive_flush64_range(unsigned long start, unsigned long len);
 #endif
 
-
 #define VDI_SYSTEM_ENDIAN              VDI_LITTLE_ENDIAN
 #define VDI_128BIT_BUS_SYSTEM_ENDIAN   VDI_128BIT_LITTLE_ENDIAN