Skip to content

Commit

Permalink
dm: ddr: socfpga: fix gen5 ddr driver to not use bss
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
goldsimon authored and Marek Vasut committed Jul 21, 2019
1 parent b94655a commit 285b3cb
Show file tree
Hide file tree
Showing 2 changed files with 740 additions and 642 deletions.
Loading

0 comments on commit 285b3cb

Please sign in to comment.