diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-22 14:05:30 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 21:13:06 +0300 |
commit | 25e7dc6a6a798451973b2a3d7c02edc3658b270d (patch) | |
tree | 539affa59aa67cc86112c2159edf6ff4aaa3e83a /include/asm-generic/global_data.h | |
parent | ff00226e0b55d08c55fca843ff9c4819b247e08c (diff) | |
download | u-boot-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/global_data.h')
-rw-r--r-- | include/asm-generic/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 8b3229e5b8..fb90be9d3e 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 |