1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

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>
This commit is contained in:
Simon Glass
2017-05-22 05:05:30 -06:00
committed by Tom Rini
parent ff00226e0b
commit 25e7dc6a6a
4 changed files with 52 additions and 0 deletions

View File

@@ -484,6 +484,11 @@ int bootstage_unstash(void *base, int size)
return 0;
}
int bootstage_get_size(void)
{
return sizeof(struct bootstage_data);
}
int bootstage_init(bool first)
{
struct bootstage_data *data;