mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
Introduce generic pre-relocation board_f.c
This file handles common pre-relocation init for boards which use the generic framework. It starts up the console, DRAM, performs relocation and then jumps to post-relocation init. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Wolfgang Denk <wd@denx.de> Acked-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
a6741bce50
commit
1938f4a5b6
7 changed files with 591 additions and 6 deletions
|
@ -111,7 +111,7 @@ int calculate_relocation_address(void)
|
|||
*/
|
||||
if (gd->fdt_blob) {
|
||||
dest_addr -= fdt_size;
|
||||
gd->arch.new_fdt = (void *)dest_addr;
|
||||
gd->new_fdt = (void *)dest_addr;
|
||||
dest_addr &= ~15;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue