]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: declear boot_devices in bootrom.h
authorKever Yang <kever.yang@rock-chips.com>
Mon, 22 Jul 2019 11:59:11 +0000 (19:59 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Jul 2019 09:30:26 +0000 (17:30 +0800)
boot_devices may defined in soc file, and used in board file,
we need to delear it in header file.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/bootrom.h

index 3499227e291710190a0d3b42c79416e765e1fb9b..0da78f30b6191f309365ff282d7a0a8034511a9a 100644 (file)
@@ -52,6 +52,8 @@ enum {
        BROM_LAST_BOOTSOURCE = BROM_BOOTSOURCE_USB
 };
 
+extern const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1];
+
 /**
  * Locations of the boot-device identifier in SRAM
  */