summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-22 19:59:11 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-07-26 17:30:26 +0800
commitbfcf15aad2aebe393aefcc2b0e7cc64e8193fae0 (patch)
tree6e8560095f3dd9c8ec4dff4d4ac7ab6ac4f7d0c8
parentcd59501f21124a3aa228bd1998ee8a61176f1309 (diff)
rockchip: declear boot_devices in bootrom.h
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>
-rw-r--r--arch/arm/include/asm/arch-rockchip/bootrom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/bootrom.h b/arch/arm/include/asm/arch-rockchip/bootrom.h
index 3499227e29..0da78f30b6 100644
--- a/arch/arm/include/asm/arch-rockchip/bootrom.h
+++ b/arch/arm/include/asm/arch-rockchip/bootrom.h
@@ -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
*/