summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rockchip/bootrom.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-07-29 09:02:15 -0400
committerTom Rini <trini@konsulko.com>2019-07-29 09:02:15 -0400
commitc957be9ba006789c7ca1158120ed40265bfeed8a (patch)
tree458b25950d54a260b4af6b190b19d0a5e8a1bad7 /arch/arm/include/asm/arch-rockchip/bootrom.h
parentb29cb0588c73d9d485acb74fa2e7c7524cf67e60 (diff)
parent26008cd42b590dc71ee9c1ca667a218542aab342 (diff)
Merge tag 'u-boot-rockchip-20190729' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip
- Clean up and migrate to use common rockchip spl board file - Clean up and migrate to use common rockchip board file - Increase rk3288 CONFIG_SYS_BOOTM_LEN to 16MB
Diffstat (limited to 'arch/arm/include/asm/arch-rockchip/bootrom.h')
-rw-r--r--arch/arm/include/asm/arch-rockchip/bootrom.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/bootrom.h b/arch/arm/include/asm/arch-rockchip/bootrom.h
index d67f43f09c..0da78f30b6 100644
--- a/arch/arm/include/asm/arch-rockchip/bootrom.h
+++ b/arch/arm/include/asm/arch-rockchip/bootrom.h
@@ -52,9 +52,11 @@ 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
*/
-#define RK3399_BROM_BOOTSOURCE_ID_ADDR 0xff8c0010
+#define BROM_BOOTSOURCE_ID_ADDR (CONFIG_IRAM_BASE + 0x10)
#endif