[U-Boot] [PATCH v2 2/8] nios2: move altera_pio_init to board_early_init_r

Marek Vasut marex at denx.de
Sat Sep 5 02:54:39 CEST 2015


On Saturday, September 05, 2015 at 02:16:20 AM, Thomas Chou wrote:
> Hi Marek,
> 
> On 09/04/2015 09:55 PM, Marek Vasut wrote:
> > On Friday, September 04, 2015 at 02:22:17 PM, Thomas Chou wrote:
> >> As altera_pio_init() uses BSS, it should be moved to
> >> board_early_init_r().
> >> 
> >> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> > 
> > Shouldn't this be part of arch_cpu_init() instead ?
> 
> This is per board setup. Each board might has a different PIO
> configuration.

OK, I see what you're doing here now. I agree.

Best regards,
Marek Vasut


More information about the U-Boot mailing list