From: Marek Vasut Date: Thu, 15 Aug 2019 08:50:40 +0200 Subject: [U-Boot] [PATCH v2] arm: socfpga: gen5: don't zero bss in board_init_f() In-Reply-To: <4f84d990-cada-1f6c-9aa5-a646dad93964@gmail.com> References: <20190712180309.20698-1-simon.k.r.goldschmidt@gmail.com> <4f84d990-cada-1f6c-9aa5-a646dad93964@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 8/14/19 8:56 PM, Simon Goldschmidt wrote: > Marek, > > Am 12.07.2019 um 20:03 schrieb Simon Goldschmidt: >> The socfpga gen5 SPL manually zeroed bss in board_init_f(). Now that the >> DDR driver does not use bss any more, bss is not used before >> board_init_r() >> and we can remove this hack. >> >> bss is normally zeroed by crt0.S, but after board_init_f(), before >> board_init_r(). socfpga just had this double-zeroing because it invalidly >> used bss in board_init_f() already (during DDR initialization). >> >> Signed-off-by: Simon Goldschmidt > > I just notice this seemed to have slipped through, could you please > apply this one? Without it, the BSS cleanup in the gen5 DDR driver was > quite useless... Applied, thanks