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

Thomas Chou thomas at wytron.com.tw
Sat Sep 5 02:16:20 CEST 2015


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.

Regards,
Thomas Chou


More information about the U-Boot mailing list