Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-07-10 Thread Simon Goldschmidt
Am 06.05.2019 um 23:12 schrieb Marek Vasut: On 5/6/19 9:50 PM, Simon Goldschmidt wrote: Am 06.05.2019 um 00:51 schrieb Marek Vasut: On 5/5/19 10:21 PM, Simon Goldschmidt wrote: Am 05.05.2019 um 22:17 schrieb Marek Vasut: On 5/5/19 8:05 AM, Simon Goldschmidt wrote: On 05.05.19 03:42, Marek

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-06 Thread Marek Vasut
On 5/6/19 9:50 PM, Simon Goldschmidt wrote: > Am 06.05.2019 um 00:51 schrieb Marek Vasut: >> On 5/5/19 10:21 PM, Simon Goldschmidt wrote: >>> Am 05.05.2019 um 22:17 schrieb Marek Vasut: On 5/5/19 8:05 AM, Simon Goldschmidt wrote: > > > On 05.05.19 03:42, Marek Vasut wrote: >> O

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-06 Thread Simon Goldschmidt
Am 06.05.2019 um 00:51 schrieb Marek Vasut: On 5/5/19 10:21 PM, Simon Goldschmidt wrote: Am 05.05.2019 um 22:17 schrieb Marek Vasut: On 5/5/19 8:05 AM, Simon Goldschmidt wrote: On 05.05.19 03:42, Marek Vasut wrote: On 5/4/19 9:10 PM, Simon Goldschmidt wrote: Am 04.05.2019 um 20:43 schrieb

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-05 Thread Marek Vasut
On 5/5/19 10:21 PM, Simon Goldschmidt wrote: > Am 05.05.2019 um 22:17 schrieb Marek Vasut: >> On 5/5/19 8:05 AM, Simon Goldschmidt wrote: >>> >>> >>> On 05.05.19 03:42, Marek Vasut wrote: On 5/4/19 9:10 PM, Simon Goldschmidt wrote: > Am 04.05.2019 um 20:43 schrieb Marek Vasut: >> On 5/

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-05 Thread Simon Goldschmidt
Am 05.05.2019 um 22:17 schrieb Marek Vasut: On 5/5/19 8:05 AM, Simon Goldschmidt wrote: On 05.05.19 03:42, Marek Vasut wrote: On 5/4/19 9:10 PM, Simon Goldschmidt wrote: Am 04.05.2019 um 20:43 schrieb Marek Vasut: On 5/3/19 10:53 PM, Simon Goldschmidt wrote: Marek Vasut mailto:ma...@denx

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-05 Thread Marek Vasut
On 5/5/19 8:05 AM, Simon Goldschmidt wrote: > > > On 05.05.19 03:42, Marek Vasut wrote: >> On 5/4/19 9:10 PM, Simon Goldschmidt wrote: >>> Am 04.05.2019 um 20:43 schrieb Marek Vasut: On 5/3/19 10:53 PM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-04 Thread Simon Goldschmidt
On 05.05.19 03:42, Marek Vasut wrote: On 5/4/19 9:10 PM, Simon Goldschmidt wrote: Am 04.05.2019 um 20:43 schrieb Marek Vasut: On 5/3/19 10:53 PM, Simon Goldschmidt wrote: Marek Vasut mailto:ma...@denx.de>> schrieb am Fr., 3. Mai 2019, 22:42: On 5/3/19 10:39 PM, Simon Goldschmidt wro

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-04 Thread Marek Vasut
On 5/4/19 9:10 PM, Simon Goldschmidt wrote: > Am 04.05.2019 um 20:43 schrieb Marek Vasut: >> On 5/3/19 10:53 PM, Simon Goldschmidt wrote: >>> >>> >>> Marek Vasut mailto:ma...@denx.de>> schrieb am Fr., 3. >>> Mai 2019, 22:42: >>> >>> On 5/3/19 10:39 PM, Simon Goldschmidt wrote: >>> > >>>  

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-04 Thread Simon Goldschmidt
Am 04.05.2019 um 20:43 schrieb Marek Vasut: On 5/3/19 10:53 PM, Simon Goldschmidt wrote: Marek Vasut mailto:ma...@denx.de>> schrieb am Fr., 3. Mai 2019, 22:42: On 5/3/19 10:39 PM, Simon Goldschmidt wrote: > > > On 03.05.19 22:35, Marek Vasut wrote: >> On 5/3/19 10:30

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-04 Thread Marek Vasut
On 5/3/19 10:53 PM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Fr., 3. > Mai 2019, 22:42: > > On 5/3/19 10:39 PM, Simon Goldschmidt wrote: > > > > > > On 03.05.19 22:35, Marek Vasut wrote: > >> On 5/3/19 10:30 PM, Simon Goldschmidt wrote: >

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-03 Thread Simon Goldschmidt
Marek Vasut schrieb am Fr., 3. Mai 2019, 22:42: > On 5/3/19 10:39 PM, Simon Goldschmidt wrote: > > > > > > On 03.05.19 22:35, Marek Vasut wrote: > >> On 5/3/19 10:30 PM, Simon Goldschmidt wrote: > >>> > >>> > >>> On 03.05.19 22:28, Marek Vasut wrote: > On 5/3/19 10:08 PM, Simon Goldschmidt w

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-03 Thread Marek Vasut
On 5/3/19 10:39 PM, Simon Goldschmidt wrote: > > > On 03.05.19 22:35, Marek Vasut wrote: >> On 5/3/19 10:30 PM, Simon Goldschmidt wrote: >>> >>> >>> On 03.05.19 22:28, Marek Vasut wrote: On 5/3/19 10:08 PM, Simon Goldschmidt wrote: > This moves the code that enables the Boot ROM to just

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-03 Thread Simon Goldschmidt
On 03.05.19 22:35, Marek Vasut wrote: On 5/3/19 10:30 PM, Simon Goldschmidt wrote: On 03.05.19 22:28, Marek Vasut wrote: On 5/3/19 10:08 PM, Simon Goldschmidt wrote: This moves the code that enables the Boot ROM to just jump to SRAM instead of loading SPL from the original boot source on w

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-03 Thread Marek Vasut
On 5/3/19 10:30 PM, Simon Goldschmidt wrote: > > > On 03.05.19 22:28, Marek Vasut wrote: >> On 5/3/19 10:08 PM, Simon Goldschmidt wrote: >>> This moves the code that enables the Boot ROM to just jump to SRAM >>> instead >>> of loading SPL from the original boot source on warm reboot. >>> >>> Inst

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-03 Thread Simon Goldschmidt
On 03.05.19 22:28, Marek Vasut wrote: On 5/3/19 10:08 PM, Simon Goldschmidt wrote: This moves the code that enables the Boot ROM to just jump to SRAM instead of loading SPL from the original boot source on warm reboot. Instead of always enabling this, an environment callback for the env var "

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-03 Thread Marek Vasut
On 5/3/19 10:08 PM, Simon Goldschmidt wrote: > This moves the code that enables the Boot ROM to just jump to SRAM instead > of loading SPL from the original boot source on warm reboot. > > Instead of always enabling this, an environment callback for the env var > "socfpga_reboot_from_sram" is used

[U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-03 Thread Simon Goldschmidt
This moves the code that enables the Boot ROM to just jump to SRAM instead of loading SPL from the original boot source on warm reboot. Instead of always enabling this, an environment callback for the env var "socfpga_reboot_from_sram" is used. This way, the behaviour can be enabled at runtime and