
7 Jan
2023
7 Jan
'23
1:13 a.m.
On Tue, 3 Jan 2023 at 14:50, Alexander Graf agraf@csgraf.de wrote:
The dcache flushing code path was conditional on ARM && !DCACHE config options. However, dcaches exist on other platforms as well and may need clearing if their driver requires it.
Simplify the compile logic and always enable the dcache flush logic in the video core. That way, drivers can always rely on it to call the arch specific callbacks.
This will increase code size for non-ARM platforms with CONFIG_VIDEO=y slightly.
Reported-by: Heinrich Schuchardt xypron.glpk@gmx.de Signed-off-by: Alexander Graf agraf@csgraf.de
drivers/video/video-uclass.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org