From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 12 Jul 2019 06:07:04 +0200 Subject: [U-Boot] [PATCH 1/2] dm: ddr: socfpga: fix gen5 ddr driver to not use bss In-Reply-To: <20190711191813.19550-2-simon.k.r.goldschmidt@gmail.com> References: <20190711191813.19550-1-simon.k.r.goldschmidt@gmail.com> <20190711191813.19550-2-simon.k.r.goldschmidt@gmail.com> Message-ID: <93946683-2582-ef42-dbb4-0f1df38292bd@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Applied, thanks.