summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-10-15 10:19:41 -0500
committerWolfgang Denk <wd@denx.de>2008-10-17 01:18:56 +0200
commit2179c4766bffeece98e5e92040629a96c97e230c (patch)
treeb620da81ac515cee92e467c30d2c4785d1f5763a
parent9029b68f3f81b3013044f167ea025e836e6c8c0e (diff)
85xx: Fix compile warning
mpc8536ds.c: In function 'is_sata_supported': mpc8536ds.c:614: warning: unused variable 'devdisr' Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--board/freescale/mpc8536ds/mpc8536ds.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c
index 3066b24de7a..2648942d0eb 100644
--- a/board/freescale/mpc8536ds/mpc8536ds.c
+++ b/board/freescale/mpc8536ds/mpc8536ds.c
@@ -611,7 +611,6 @@ get_board_ddr_clk(ulong dummy)
int is_sata_supported(void)
{
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
- uint devdisr = gur->devdisr;
uint sdrs2_io_sel =
(gur->pordevsr & MPC85xx_PORDEVSR_SRDS2_IO_SEL) >> 27;
if (sdrs2_io_sel & 0x04)