diff options
| author | Wolfgang Denk <wd@denx.de> | 2007-08-02 00:48:45 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2007-08-02 00:48:45 +0200 | 
| commit | cdd917a43da6fa7fc8f54a3cc9f420ce5ecf3197 (patch) | |
| tree | d171af231adccfc25a395c6b656733f2f549774d /board/spc1920/hpi.c | |
| parent | 5dc210dec5bace98a50b6ba905347890091a9bb0 (diff) | |
| download | olio-uboot-2014.01-cdd917a43da6fa7fc8f54a3cc9f420ce5ecf3197.tar.xz olio-uboot-2014.01-cdd917a43da6fa7fc8f54a3cc9f420ce5ecf3197.zip | |
Fix build errors and warnings / code cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/spc1920/hpi.c')
| -rw-r--r-- | board/spc1920/hpi.c | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/board/spc1920/hpi.c b/board/spc1920/hpi.c index 3c36f7911..cd7799b27 100644 --- a/board/spc1920/hpi.c +++ b/board/spc1920/hpi.c @@ -122,7 +122,9 @@ const uint dsp_table_fast[] =  #define TINY_AUTOINC_BASE_ADDR 0x0  static int hpi_activate(void); +#if 0  static void hpi_inactivate(void); +#endif  static void dsp_reset(void);  static int hpi_write_inc(u32 addr, u32 *data, u32 count); @@ -133,7 +135,9 @@ static u32 hpi_read_noinc(u32 addr);  int hpi_test(void);  static int hpi_write_addr_test(u32 addr);  static int hpi_read_write_test(u32 addr, u32 data); +#ifdef DO_TINY_TEST  static int hpi_tiny_autoinc_test(void); +#endif /* DO_TINY_TEST */  #endif /* CONFIG_SPC1920_HPI_TEST */ @@ -185,6 +189,7 @@ static int hpi_activate(void)  	return 0;  } +#if 0  /* turn off the host port interface */  static void hpi_inactivate(void)  { @@ -200,6 +205,7 @@ static void hpi_inactivate(void)  	/* currently always on TBD */  } +#endif  /* reset the DSP */  static void dsp_reset(void) @@ -570,6 +576,7 @@ static int hpi_read_write_test(u32 addr, u32 data)  	return 0;  } +#ifdef DO_TINY_TEST  static int hpi_tiny_autoinc_test(void)  {  	int i; @@ -599,5 +606,6 @@ static int hpi_tiny_autoinc_test(void)  	}  	return 0;  } +#endif /* DO_TINY_TEST */  #endif /* CONFIG_SPC1920_HPI_TEST */ |