-
Notifications
You must be signed in to change notification settings - Fork 77
Description
Title says everything. Build for risc-v works ok. But for a53 there is an error as below:
/workdir/u-boot-2021.10/drivers/jpeg/jpurun.c: In function ‘copy_to_dest_addr’: /workdir/u-boot-2021.10/drivers/jpeg/jpurun.c:113:2: error: implicit declaration of function ‘flush_dcache_range’ [-Werror=implicit-function-declaration] flush_dcache_range((unsigned long)pRefYuv, (unsigned long)pRefYuv + lumaSize + chromaSize + chromaSize); ^~~~~~~~~~~~~~~~~~ CC drivers/video/panel-uclass.o /workdir/u-boot-2021.10/drivers/jpeg/jdi.c: In function ‘jdi_write_register’: /workdir/u-boot-2021.10/drivers/jpeg/jdi.c:226:2: error: implicit declaration of function ‘flush_dcache_range’ [-Werror=implicit-function-declaration] flush_dcache_range(reg_addr, reg_addr + sizeof(unsigned int)); ^~~~~~~~~~~~~~~~~~ /workdir/u-boot-2021.10/drivers/jpeg/jdi.c: In function ‘jdi_read_register’: /workdir/u-boot-2021.10/drivers/jpeg/jdi.c:237:2: error: implicit declaration of function ‘invalidate_dcache_range’ [-Werror=implicit-function-declaration] invalidate_dcache_range(reg_addr, reg_addr + sizeof(unsigned int)); ^~~~~~~~~~~~~~~~~~~~~~~ /workdir/u-boot-2021.10/drivers/jpeg/jdi_osal.c: In function ‘josal_memcpy’: /workdir/u-boot-2021.10/drivers/jpeg/jdi_osal.c:107:2: error: implicit declaration of function ‘flush_dcache_range’ [-Werror=implicit-function-declaration] flush_dcache_range((unsigned long)dst, count); ^~~~~~~~~~~~~~~~~~ CC drivers/video/simple_panel.o /workdir/u-boot-2021.10/drivers/jpeg/jdi_osal.c: In function ‘jinv_dcache_range’: /workdir/u-boot-2021.10/drivers/jpeg/jdi_osal.c:409:2: error: implicit declaration of function ‘invalidate_dcache_range’ [-Werror=implicit-function-declaration] invalidate_dcache_range(start, size); ^~~~~~~~~~~~~~~~~~~~~~~