diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-06-10 01:36:27 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-06-10 01:36:27 +0200 |
commit | 9d4d3e3833ca7f4dada190ddcb3fea1da9bb9b5b (patch) | |
tree | 2e48d77afa769a4515101e4ce4ef2c6ba48cbeff /lib_nios2/board.c | |
parent | 5d7022b0418b3aab977ac51dbfd179c296ae442e (diff) | |
parent | 9cc833783206efd25b4655aa451ce81e5cc28fc2 (diff) | |
download | u-boot-imx-9d4d3e3833ca7f4dada190ddcb3fea1da9bb9b5b.zip u-boot-imx-9d4d3e3833ca7f4dada190ddcb3fea1da9bb9b5b.tar.gz u-boot-imx-9d4d3e3833ca7f4dada190ddcb3fea1da9bb9b5b.tar.bz2 |
Merge with http://www.psyent.com/git/uboot (NIOS2 - Scott McNutt)
Diffstat (limited to 'lib_nios2/board.c')
-rw-r--r-- | lib_nios2/board.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib_nios2/board.c b/lib_nios2/board.c index cd23037..7ffb3f0 100644 --- a/lib_nios2/board.c +++ b/lib_nios2/board.c @@ -31,6 +31,9 @@ #ifdef CONFIG_STATUS_LED #include <status_led.h> #endif +#if defined(CFG_NIOS_EPCSBASE) +#include <nios2-epcs.h> +#endif DECLARE_GLOBAL_DATA_PTR; @@ -93,6 +96,9 @@ init_fnc_t *init_sequence[] = { #if defined(CONFIG_BOARD_EARLY_INIT_F) board_early_init_f, /* Call board-specific init code early.*/ #endif +#if defined(CFG_NIOS_EPCSBASE) + epcs_reset, +#endif env_init, serial_init, @@ -165,6 +171,10 @@ void board_init (void) WATCHDOG_RESET (); interrupt_init (); +#if defined(CONFIG_BOARD_LATE_INIT) + board_late_init (); +#endif + /* main_loop */ for (;;) { WATCHDOG_RESET (); |