mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 06:12:58 +00:00
714dc001fc
The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise they have issues with out-of-tree build where elftosb tool couldn't sometimes find the u-boot.bin and spl/u-boot-spl.bin . Preprocess these .bd files with sed and insert full path to u-boot.bin and spl/u-boot-spl.bin to prevent this issue. Moreover, to avoid adding more churn into main Makefile, move all this preprocessing and u-boot.sb generation into CPU directory instead. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
18 lines
271 B
Text
18 lines
271 B
Text
options {
|
|
driveTag = 0x00;
|
|
flags = 0x01;
|
|
}
|
|
|
|
sources {
|
|
u_boot_spl="OBJTREE/spl/u-boot-spl.bin";
|
|
u_boot="OBJTREE/u-boot.bin";
|
|
}
|
|
|
|
section (0) {
|
|
load u_boot_spl > 0x0000;
|
|
load ivt (entry = 0x0014) > 0x8000;
|
|
call 0x8000;
|
|
|
|
load u_boot > 0x40000100;
|
|
call 0x40000100;
|
|
}
|