commit | 285b3cb939a8f70d5233fd12e0b9f840eac53812 | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Thu Jul 11 21:18:12 2019 +0200 |
committer | Marek Vasut <marex@denx.de> | Sun Jul 21 12:45:01 2019 +0200 |
tree | 43544060c6cc8fe57fc2958ebc4acb9c15964c40 | |
parent | b94655a4b7c8ced797c7d759a62eb2b5ba3ddb94 [diff] |
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: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>