diff options
author | Markus Klotzbuecher <mk@creamnet.de> | 2007-01-09 14:57:10 +0100 |
---|---|---|
committer | Markus Klotzbuecher <mk@pollux.denx.de> | 2007-01-09 14:57:10 +0100 |
commit | d28707dbce1e9ac2017ad051da4133bf22b4204f (patch) | |
tree | 94c5168762a51c4eb8bb861848ddd7664eb3bd60 /board/spc1920/spc1920.c | |
parent | f4eb54529bb3664c3a562e488b460fe075f79d67 (diff) |
Add support for the tms320671x host port interface (HPI)
Diffstat (limited to 'board/spc1920/spc1920.c')
-rw-r--r-- | board/spc1920/spc1920.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/board/spc1920/spc1920.c b/board/spc1920/spc1920.c index 028f4c635de..1fc2ea1fb49 100644 --- a/board/spc1920/spc1920.c +++ b/board/spc1920/spc1920.c @@ -27,9 +27,9 @@ #include <common.h> #include <mpc8xx.h> #include "pld.h" +#include "hpi.h" #define _NOT_USED_ 0xFFFFFFFF -/* #define debug(fmt,args...) printf (fmt ,##args) */ static long int dram_size (long int, long int *, long int); @@ -172,6 +172,8 @@ long int initdram (int board_type) memctl->memc_br1 = (CFG_SDRAM_BASE & BR_BA_MSK) | BR_MS_UPMB | BR_V; udelay (1000); + /* initalize the DSP Host Port Interface */ + hpi_init(); /* PLD Setup */ memctl->memc_or5 = CFG_OR5_PRELIM; @@ -228,6 +230,14 @@ int board_early_init_f(void) return 0; } +int last_stage_init(void) +{ +#ifdef CONFIG_SPC1920_HPI_TEST + printf("CMB1920 Host Port Interface Test: %s\n", + hpi_test() ? "Failed!" : "OK"); +#endif + return 0; +} int checkboard (void) { |