Re: [U-Boot] [PATCH] arm: socfpga: fix bootcounter by reserving SRAM

2018-10-30 Thread Simon Goldschmidt
Stefan Roese schrieb am Di., 30. Okt. 2018, 09:52: > Hi Simon, > > On 29.10.18 21:47, Simon Goldschmidt wrote: > > Commit 768f23dc8ae3 ("ARM: socfpga: Put stack at the end of SRAM") > > broke those socfpga boards that keep the bootcounter at the > > end of the internal SRAM as the bootcounter nee

Re: [U-Boot] [PATCH] arm: socfpga: fix bootcounter by reserving SRAM

2018-10-30 Thread Stefan Roese
Hi Simon, On 29.10.18 21:47, Simon Goldschmidt wrote: Commit 768f23dc8ae3 ("ARM: socfpga: Put stack at the end of SRAM") broke those socfpga boards that keep the bootcounter at the end of the internal SRAM as the bootcounter needs 8 bytes by default and thus the very first SPL call to board_init

Re: [U-Boot] [PATCH] arm: socfpga: fix bootcounter by reserving SRAM

2018-10-29 Thread Simon Goldschmidt
Simon Goldschmidt schrieb am Mo., 29. Okt. 2018, 21:47: > Commit 768f23dc8ae3 ("ARM: socfpga: Put stack at the end of SRAM") > broke those socfpga boards that keep the bootcounter at the > end of the internal SRAM as the bootcounter needs 8 bytes > by default and thus the very first SPL call to >

[U-Boot] [PATCH] arm: socfpga: fix bootcounter by reserving SRAM

2018-10-29 Thread Simon Goldschmidt
Commit 768f23dc8ae3 ("ARM: socfpga: Put stack at the end of SRAM") broke those socfpga boards that keep the bootcounter at the end of the internal SRAM as the bootcounter needs 8 bytes by default and thus the very first SPL call to board_init_f_alloc_reserve overwrites the bootcounter. This patch