[U-Boot] [PATCH v1 0/4] arm: socfgpa: support of-platdata
Marek Vasut
marex at denx.de
Mon Jan 7 22:57:28 UTC 2019
On 1/7/19 10:14 PM, Simon Goldschmidt wrote:
> This is an initial attempt to support OF_PLATDATA for socfpga gen5.
>
> There are two motivations for this:
> a) reduce code size to eventually support secure boot (where SPL has to
> authenticate the next stage by loading/checking U-Boot from a FIT
> image)
> b) to support the cyclone 5 boot ROM's CRC check on the SPL in SRAM
> (on warm-restart), all bytes to check need to be in one piece. With
> OF_SEPARATE, this is not the case (.bss is between .rodata and the
> DTB). Since OF_EMBEDDED has been discouraged, OF_PLATDATA seems to
> be a good solution.
I'd much prefer parsing the DT (and thus, decoupling the SW from HW)
than having some ad-hoc plat data again if we can avoid that.
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list