[U-Boot] [PATCHv1 13/22] arm: socfpga: spl: Add s_init

Marek Vasut
2015-02-09T17:05:31Z

On Monday, February 09, 2015 at 05:50:34 PM, Dinh Nguyen wrote:

Hi!

[...]

> >>>> +
> >>>> +#endif /* CONFIG_SPL_BUILD */
> >>>> +
> >>>> + /* Configure the L2 controller to make SDRAM start at 0 */
> >>>> + writel(0x1, (SOCFPGA_MPUL2_ADDRESS +
SOCFPGA_MPUL2_ADRFLTR_START));
> >>>
> >>> This as well.
> >>
> >> This call has to stay because we want to map the SDRAM to 0x0 in the
> >> SPL. The call in arch_early_init_r() is in u-boot, and thus is too late.
> >
> > Roger, but please remove the other invocation once the SPL is in place.
> > OK?
>
> Yes, I can remove it in the series?

Roger, thank you.

Please address Simon's email too :)

Best regards,
Marek Vasut