diff options
author | Wolfgang Denk | 2007-04-24 14:37:49 +0200 |
---|---|---|
committer | Wolfgang Denk | 2007-05-03 16:16:10 +0200 |
commit | 2c6fb199dc5756fc72f49d1f4de105e089049d65 (patch) | |
tree | 1a3501631ae1dddf4aec6173c7d6f043f67df474 /board/stxssa/stxssa.c | |
parent | 35171dc04e028ecacc23ad916a66295472555dbf (diff) |
Cleanup STX GP3SSA code; fix build and compile problems.
Diffstat (limited to 'board/stxssa/stxssa.c')
-rw-r--r-- | board/stxssa/stxssa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/stxssa/stxssa.c b/board/stxssa/stxssa.c index 87d3d6f9949..0fb233d818a 100644 --- a/board/stxssa/stxssa.c +++ b/board/stxssa/stxssa.c @@ -203,8 +203,9 @@ void reset_phy(void) { volatile uint *blatch; +#if 0 int i; - +#endif blatch = (volatile uint *)CFG_LBC_CFGLATCH_BASE; /* reset Giga bit Ethernet port if needed here */ @@ -298,10 +299,10 @@ initdram (int board_type) { long dram_size = 0; extern long spd_sdram (void); - volatile immap_t *immap = (immap_t *)CFG_IMMR; #if defined(CONFIG_DDR_DLL) { + volatile immap_t *immap = (immap_t *)CFG_IMMR; volatile ccsr_gur_t *gur= &immap->im_gur; uint temp_ddrdll = 0; |