1f2faffecSSimon Glass#include <config.h> 2f2faffecSSimon Glass 33cdb5fa0SStephen Warren#ifdef CONFIG_SPL_TEXT_BASE 43cdb5fa0SStephen Warren#define U_BOOT_OFFSET (CONFIG_SYS_TEXT_BASE - CONFIG_SPL_TEXT_BASE) 53cdb5fa0SStephen Warren#else 63cdb5fa0SStephen Warren#define U_BOOT_OFFSET 0 73cdb5fa0SStephen Warren#endif 83cdb5fa0SStephen Warren 9f2faffecSSimon Glass/ { 10f2faffecSSimon Glass binman { 11f2faffecSSimon Glass multiple-images; 12f2faffecSSimon Glass image1 { 13f2faffecSSimon Glass filename = "u-boot-tegra.bin"; 14f2faffecSSimon Glass pad-byte = <0xff>; 15f2faffecSSimon Glass u-boot-spl { 16f2faffecSSimon Glass }; 17f2faffecSSimon Glass u-boot { 18*3ab9598dSSimon Glass offset = <(U_BOOT_OFFSET)>; 19f2faffecSSimon Glass }; 20f2faffecSSimon Glass }; 21f2faffecSSimon Glass 22f2faffecSSimon Glass /* Same as image1 - some tools still expect the -dtb suffix */ 23f2faffecSSimon Glass image2 { 24f2faffecSSimon Glass filename = "u-boot-dtb-tegra.bin"; 25f2faffecSSimon Glass pad-byte = <0xff>; 26f2faffecSSimon Glass u-boot-spl { 27f2faffecSSimon Glass }; 28f2faffecSSimon Glass u-boot { 29*3ab9598dSSimon Glass offset = <(U_BOOT_OFFSET)>; 30f2faffecSSimon Glass }; 31f2faffecSSimon Glass }; 32f2faffecSSimon Glass 33f2faffecSSimon Glass image3 { 34f2faffecSSimon Glass filename = "u-boot-nodtb-tegra.bin"; 35f2faffecSSimon Glass pad-byte = <0xff>; 36f2faffecSSimon Glass u-boot-spl { 37f2faffecSSimon Glass }; 38f2faffecSSimon Glass u-boot-nodtb { 39*3ab9598dSSimon Glass offset = <(U_BOOT_OFFSET)>; 40f2faffecSSimon Glass }; 41f2faffecSSimon Glass }; 42f2faffecSSimon Glass }; 43f2faffecSSimon Glass}; 44