[U-Boot] [PATCH 1/2] dm: ddr: socfpga: fix gen5 ddr driver to not use bss

Marek Vasut marex at denx.de
Fri Jul 12 04:07:04 UTC 2019


On 7/11/19 9:18 PM, Simon Goldschmidt wrote:
> This driver uses bss from SPL board_init_f(). Change it to move all the
> data from bss to a common struct allocated on the stack (64 byte).
> 
> In addition to saving 28 bytes of bss, the code even gets 264 bytes
> smaller.
> 
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

Applied, thanks.


More information about the U-Boot mailing list