Hi everyone, I am trying to compile uboot for rockpi 4a and I have the following error:
./build/mk-uboot.sh rockpi4a
CC arch/arm/mach-rockchip/rk3399/clk_rk3399.o
CC arch/arm/mach-rockchip/rk3399/rk3399.o
CC arch/arm/mach-rockchip/rk3399/syscon_rk3399.o
LD arch/arm/mach-rockchip/rk3399/built-in.o
CC arch/arm/mach-rockchip/rk_atags.o
LD arch/arm/mach-rockchip/built-in.o
CC board/rockchip/evb_rk3399/evb-rk3399.o
board/rockchip/evb_rk3399/evb-rk3399.c:168:13: error: 'rk3399_force_pcie_power_on' defined but not used [-Werror=unused-function]
static void rk3399_force_pcie_power_on(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:280: recipe for target 'board/rockchip/evb_rk3399/evb-rk3399.o' failed
make[2]: *** [board/rockchip/evb_rk3399/evb-rk3399.o] Error 1
Makefile:1287: recipe for target 'board/rockchip/evb_rk3399' failed
make[1]: *** [board/rockchip/evb_rk3399] Error 2
make: *** [__build_one_by_one] Error 2
Makefile:461: recipe for target '__build_one_by_one' failed
I have another rock pi 4b and I got it normally…