summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-22 11:05:30 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-05 18:13:06 (GMT)
commit25e7dc6a6a798451973b2a3d7c02edc3658b270d (patch)
tree539affa59aa67cc86112c2159edf6ff4aaa3e83a /include/asm-generic
parentff00226e0b55d08c55fca843ff9c4819b247e08c (diff)
downloadu-boot-fsl-qoriq-25e7dc6a6a798451973b2a3d7c02edc3658b270d.tar.xz
bootstage: Support relocating boostage data
Some boards cannot access pre-relocation data after relocation. Reserve space for this and copy it during preparation for relocation. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/global_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 8b3229e..fb90be9 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -112,6 +112,7 @@ typedef struct global_data {
#endif
#ifdef CONFIG_BOOTSTAGE
struct bootstage_data *bootstage; /* Bootstage information */
+ struct bootstage_data *new_bootstage; /* Relocated bootstage info */
#endif
} gd_t;
#endif