Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-04 Thread Mike Looijmans
On 04-04-19 09:56, Michal Simek wrote: > On 04. 04. 19 9:52, Luca Ceresoli wrote: >> Hi Mike, Michal, >> >> On 04/04/19 08:49, Michal Simek wrote: >> [...] > +#ifdef ZYNQMP_LOAD_PM_CFG_OBJ > +#include CONFIG_ZYNQMP_LOAD_PM_CFG_OBJ_FILE > +#endif > + >

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-04 Thread Michal Simek
On 04. 04. 19 9:52, Luca Ceresoli wrote: > Hi Mike, Michal, > > On 04/04/19 08:49, Michal Simek wrote: > [...] +#ifdef ZYNQMP_LOAD_PM_CFG_OBJ +#include CONFIG_ZYNQMP_LOAD_PM_CFG_OBJ_FILE +#endif + int board_early_init_f(void) {

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-04 Thread Luca Ceresoli
Hi Mike, Michal, On 04/04/19 08:49, Michal Simek wrote: [...] >>> +#ifdef ZYNQMP_LOAD_PM_CFG_OBJ >>> +#include CONFIG_ZYNQMP_LOAD_PM_CFG_OBJ_FILE >>> +#endif >>> + >>>int board_early_init_f(void) >>>{ >>> int ret = 0; >>> @@ -332,6 +338,11 @@ int

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-04 Thread Michal Simek
On 04. 04. 19 7:38, Mike Looijmans wrote: > On 03-04-19 23:18, Luca Ceresoli wrote: >> Hi Mike, >> >> On 03/04/19 13:24, Mike Looijmans wrote: >>> On 29-03-19 13:22, Luca Ceresoli wrote: Hi Michal, thanks for the feedback. On 27/03/19 16:03, Michal Simek wrote: > On

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-03 Thread Mike Looijmans
On 03-04-19 23:18, Luca Ceresoli wrote: > Hi Mike, > > On 03/04/19 13:24, Mike Looijmans wrote: >> On 29-03-19 13:22, Luca Ceresoli wrote: >>> Hi Michal, >>> >>> thanks for the feedback. >>> >>> On 27/03/19 16:03, Michal Simek wrote: On 21. 03. 19 16:48, Luca Ceresoli wrote: > Optionally

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-03 Thread Luca Ceresoli
Hi Mike, On 03/04/19 13:24, Mike Looijmans wrote: > On 29-03-19 13:22, Luca Ceresoli wrote: >> Hi Michal, >> >> thanks for the feedback. >> >> On 27/03/19 16:03, Michal Simek wrote: >>> On 21. 03. 19 16:48, Luca Ceresoli wrote: Optionally allow U-Boot to load at the PMU firmware

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-03 Thread Michal Simek
On 03. 04. 19 13:24, Mike Looijmans wrote: > On 29-03-19 13:22, Luca Ceresoli wrote: >> Hi Michal, >> >> thanks for the feedback. >> >> On 27/03/19 16:03, Michal Simek wrote: >>> On 21. 03. 19 16:48, Luca Ceresoli wrote: Optionally allow U-Boot to load at the PMU firmware configuration object

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-04-03 Thread Mike Looijmans
On 29-03-19 13:22, Luca Ceresoli wrote: > Hi Michal, > > thanks for the feedback. > > On 27/03/19 16:03, Michal Simek wrote: >> On 21. 03. 19 16:48, Luca Ceresoli wrote: >>> Optionally allow U-Boot to load at the PMU firmware configuration object >>> into the Power Management Unit (PMU) on

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-03-29 Thread Michal Simek
On 29. 03. 19 13:22, Luca Ceresoli wrote: > Hi Michal, > > thanks for the feedback. > > On 27/03/19 16:03, Michal Simek wrote: >> On 21. 03. 19 16:48, Luca Ceresoli wrote: >>> Optionally allow U-Boot to load at the PMU firmware configuration object >>> into the Power Management Unit (PMU) on

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-03-29 Thread Luca Ceresoli
Hi Michal, thanks for the feedback. On 27/03/19 16:03, Michal Simek wrote: > On 21. 03. 19 16:48, Luca Ceresoli wrote: >> Optionally allow U-Boot to load at the PMU firmware configuration object >> into the Power Management Unit (PMU) on Xilinx ZynqMP. >> >> The configuration object is required

Re: [U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-03-27 Thread Michal Simek
On 21. 03. 19 16:48, Luca Ceresoli wrote: > Optionally allow U-Boot to load at the PMU firmware configuration object > into the Power Management Unit (PMU) on Xilinx ZynqMP. > > The configuration object is required by the PMU FW to enable most SoC > peripherals. So far the only way to boot using

[U-Boot] [RFC v2 2/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-03-21 Thread Luca Ceresoli
Optionally allow U-Boot to load at the PMU firmware configuration object into the Power Management Unit (PMU) on Xilinx ZynqMP. The configuration object is required by the PMU FW to enable most SoC peripherals. So far the only way to boot using U-Boot SPL was to hard-code the configuration object