On Github: linux-u-boot/arch/arm/include/asm/arch-rockchip/boot_mode.h contains these lines 21-26 #ifndef __ASSEMBLY__ int setup_boot_mode(void); #endif int setup_boot_mode(void); Won't this give multiple definitions of "setup_boot_mode" if __ASSEMBLY__ is not defined? -wis