[U-Boot] Q about ARM "boot_mode.h"

Wis Macomson wis1 at comcast.net
Sat Jun 16 19:36:00 UTC 2018


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
 


More information about the U-Boot mailing list