mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
ARM: tegra: allow reading recovery mode boot type
Add defines to allow reading recovery mode (RCM) boot type from the boot information table (BIT) written by the boot ROM (BR) to the IRAM. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
98b6d2602f
commit
a1f34ed873
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ struct timerus {
|
|||
/* Address at which WB code runs, it must not overlap Bootrom's IRAM usage */
|
||||
#define NV_WB_RUN_ADDRESS 0x40020000
|
||||
|
||||
#define NVBOOTTYPE_RECOVERY 2 /* BR entered RCM */
|
||||
#define NVBOOTINFOTABLE_BOOTTYPE 0xC /* Boot type in BIT in IRAM */
|
||||
#define NVBOOTINFOTABLE_BCTSIZE 0x38 /* BCT size in BIT in IRAM */
|
||||
#define NVBOOTINFOTABLE_BCTPTR 0x3C /* BCT pointer in BIT in IRAM */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue