Hi,
I'm compiling the kernel level driver, here i'm using the __cpuc_flush_dcache_area function.
When i'm compiling the driver for zc706 i'm able to compile this driver without any issues, but during the compilation for ZCU102 board, i'm getting the compilation issue.
error: implicit declaration of function ‘__cpuc_flush_dcache_area’; did you mean ‘__flush_dcache_area’? [-Werror=implicit-function-declaration]
__cpuc_flush_dcache_area(phys_to_virt(drv_data->block_data.buffer[i].base_addr), drv_data->block_data.buffer[i].size);
i couldn't find the definition for this function in xilinx-linux kernel.
Since it is suggesting __flush_dcache_area, i renamed that function and tried to compile but still i couldn't find the definition for this function as well.
And why it is able to compile for zc706 and why it is not able to compile for zcu102 board.
Which part of source code is getting compiled for the zc706 and which is similar function in zcu102.
Kindly provide the solution.
Thanks,
venkatesh