diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-09-04 16:19:16 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 07:28:37 +0800 |
commit | b6c180928c3c7c9efbdc5eb1b468c450c877abdf (patch) | |
tree | 3fbe1f9a927e92033cf5cb20df0101af387d9226 /include | |
parent | a03377b62f7f8546b1c489319879cad1a3c77138 (diff) | |
download | u-boot-imx-b6c180928c3c7c9efbdc5eb1b468c450c877abdf.zip u-boot-imx-b6c180928c3c7c9efbdc5eb1b468c450c877abdf.tar.gz u-boot-imx-b6c180928c3c7c9efbdc5eb1b468c450c877abdf.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/nios2-generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h index 5bb7768..293acae 100644 --- a/include/configs/nios2-generic.h +++ b/include/configs/nios2-generic.h @@ -15,6 +15,7 @@ #include "../board/altera/nios2-generic/custom_fpga.h" /* fpga parameters */ #define CONFIG_BOARD_NAME "nios2-generic" /* custom board name */ #define CONFIG_BOARD_EARLY_INIT_F /* enable early board-spec. init */ +#define CONFIG_BOARD_EARLY_INIT_R #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO #define CONFIG_SYS_NIOS_SYSID_BASE CONFIG_SYS_SYSID_BASE |