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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user