Re: [PATCH v3 12/20] mips: enable support for appending dtb to spl binary

2020-02-10 Thread Daniel Schwierzeck
Am 21.01.20 um 09:19 schrieb Weijie Gao: > If CONFIG_SPL_OF_CONTROL is enabled for SPL and CONFIG_OF_SEPARATE is also > enabled, the dtb will be appended to the u-boot-spl.bin. > > When calling dm_init_and_scan() in SPL, fdtdec_setup() will try to locate > dtb at the end of u-boot-spl.bin, by r

Re: [PATCH v3 12/20] mips: enable support for appending dtb to spl binary

2020-01-21 Thread Stefan Roese
On 21.01.20 09:19, Weijie Gao wrote: If CONFIG_SPL_OF_CONTROL is enabled for SPL and CONFIG_OF_SEPARATE is also enabled, the dtb will be appended to the u-boot-spl.bin. When calling dm_init_and_scan() in SPL, fdtdec_setup() will try to locate dtb at the end of u-boot-spl.bin, by referencing to _

[PATCH v3 12/20] mips: enable support for appending dtb to spl binary

2020-01-21 Thread Weijie Gao
If CONFIG_SPL_OF_CONTROL is enabled for SPL and CONFIG_OF_SEPARATE is also enabled, the dtb will be appended to the u-boot-spl.bin. When calling dm_init_and_scan() in SPL, fdtdec_setup() will try to locate dtb at the end of u-boot-spl.bin, by referencing to _image_binary_end. However _image_binar