Skip to content
Commit 285b3cb9 authored by Simon Goldschmidt's avatar Simon Goldschmidt Committed by Marek Vasut
Browse files

dm: ddr: socfpga: fix gen5 ddr driver to not use bss



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: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
parent b94655a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment