[U-Boot] [PATCH v1 3/7] tools: dynamically allocate imx_header in imximage

2013-07-11 Thread Stefano Babic
Change to dynamically allocate the imx_header to correctly allocate the IVT, Boot Data and DCD at correct locations depending on the boot media. Also check that the Image Vector Table Offset + IVT + Boot Data + DCD = Initial Load Region Size. Previously struct imx_header was always 4096 bytes

Re: [U-Boot] [PATCH v1 3/7] tools: dynamically allocate imx_header in imximage

2013-07-11 Thread Marek Vasut
Dear Stefano Babic, Change to dynamically allocate the imx_header to correctly allocate the IVT, Boot Data and DCD at correct locations depending on the boot media. Also check that the Image Vector Table Offset + IVT + Boot Data + DCD = Initial Load Region Size. Previously struct