nios2: move altera_pio_init to board_early_init_r
authorThomas Chou <thomas@wytron.com.tw>
Fri, 4 Sep 2015 08:19:16 +0000 (16:19 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:28:37 +0000 (07:28 +0800)
commitb6c180928c3c7c9efbdc5eb1b468c450c877abdf
tree3fbe1f9a927e92033cf5cb20df0101af387d9226
parenta03377b62f7f8546b1c489319879cad1a3c77138
nios2: move altera_pio_init to board_early_init_r

As altera_pio_init() uses BSS, it should be moved to
board_early_init_r().

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Marek Vasut <marex@denx.de>
board/altera/nios2-generic/nios2-generic.c
include/configs/nios2-generic.h