Re: [U-Boot] [PATCH v2] arm: socfpga: do not reboot via SRAM

2019-07-12 Thread Simon Goldschmidt
On Fri, Jul 12, 2019 at 12:29 PM Marek Vasut wrote: > > On 7/12/19 8:00 AM, Simon Goldschmidt wrote: > > On Fri, Jul 12, 2019 at 7:27 AM Marek Vasut wrote: > >> > >> On 7/12/19 7:20 AM, Simon Goldschmidt wrote: > >>> On Fri, Jul 12, 2019 at 7:15 AM Marek Vasut wrote: > > On 7/10/19 9:0

Re: [U-Boot] [PATCH v2] arm: socfpga: do not reboot via SRAM

2019-07-12 Thread Marek Vasut
On 7/12/19 8:00 AM, Simon Goldschmidt wrote: > On Fri, Jul 12, 2019 at 7:27 AM Marek Vasut wrote: >> >> On 7/12/19 7:20 AM, Simon Goldschmidt wrote: >>> On Fri, Jul 12, 2019 at 7:15 AM Marek Vasut wrote: On 7/10/19 9:06 PM, Simon Goldschmidt wrote: > This removes the code that enabl

Re: [U-Boot] [PATCH v2] arm: socfpga: do not reboot via SRAM

2019-07-11 Thread Simon Goldschmidt
On Fri, Jul 12, 2019 at 7:27 AM Marek Vasut wrote: > > On 7/12/19 7:20 AM, Simon Goldschmidt wrote: > > On Fri, Jul 12, 2019 at 7:15 AM Marek Vasut wrote: > >> > >> On 7/10/19 9:06 PM, Simon Goldschmidt wrote: > >>> This removes the code that enables the Boot ROM to just jump to SRAM > >>> instea

Re: [U-Boot] [PATCH v2] arm: socfpga: do not reboot via SRAM

2019-07-11 Thread Marek Vasut
On 7/12/19 7:20 AM, Simon Goldschmidt wrote: > On Fri, Jul 12, 2019 at 7:15 AM Marek Vasut wrote: >> >> On 7/10/19 9:06 PM, Simon Goldschmidt wrote: >>> This removes the code that enables the Boot ROM to just jump to SRAM >>> instead of loading SPL from the original boot source on warm reboot. >>>

Re: [U-Boot] [PATCH v2] arm: socfpga: do not reboot via SRAM

2019-07-11 Thread Simon Goldschmidt
On Fri, Jul 12, 2019 at 7:15 AM Marek Vasut wrote: > > On 7/10/19 9:06 PM, Simon Goldschmidt wrote: > > This removes the code that enables the Boot ROM to just jump to SRAM > > instead of loading SPL from the original boot source on warm reboot. > > > > The reason for removing this is that it is i

Re: [U-Boot] [PATCH v2] arm: socfpga: do not reboot via SRAM

2019-07-11 Thread Marek Vasut
On 7/10/19 9:06 PM, Simon Goldschmidt wrote: > This removes the code that enables the Boot ROM to just jump to SRAM > instead of loading SPL from the original boot source on warm reboot. > > The reason for removing this is that it is insecure: SRAM might be > overwritten at the time the warm reboo

[U-Boot] [PATCH v2] arm: socfpga: do not reboot via SRAM

2019-07-10 Thread Simon Goldschmidt
This removes the code that enables the Boot ROM to just jump to SRAM instead of loading SPL from the original boot source on warm reboot. The reason for removing this is that it is insecure: SRAM might be overwritten at the time the warm reboot is done. Instead, use the default behaviour of loadin