summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8536ds/mpc8536ds.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-10-19 12:49:19 -0500
committerWolfgang Denk <wd@denx.de>2008-10-21 11:27:08 +0200
commit1836881190b3d8a6918b0d64b39fe32bbbdf85d8 (patch)
tree92a2822f01cc1851061c089985b1f58f2dc64124 /board/freescale/mpc8536ds/mpc8536ds.c
parent8ed44d91c8122d00368523b0b746691c895d3b3c (diff)
downloadu-boot-imx-1836881190b3d8a6918b0d64b39fe32bbbdf85d8.zip
u-boot-imx-1836881190b3d8a6918b0d64b39fe32bbbdf85d8.tar.gz
u-boot-imx-1836881190b3d8a6918b0d64b39fe32bbbdf85d8.tar.bz2
85xx: Fix compile warning in mpc8536ds.c
mpc8536ds.c: In function 'is_sata_supported': mpc8536ds.c:615: warning: unused variable 'devdisr' Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8536ds/mpc8536ds.c')
-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 ce77bb9..f357826 100644
--- a/board/freescale/mpc8536ds/mpc8536ds.c
+++ b/board/freescale/mpc8536ds/mpc8536ds.c
@@ -612,7 +612,6 @@ get_board_ddr_clk(ulong dummy)
int is_sata_supported(void)
{
volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
- uint devdisr = gur->devdisr;
uint sdrs2_io_sel =
(gur->pordevsr & MPC85xx_PORDEVSR_SRDS2_IO_SEL) >> 27;
if (sdrs2_io_sel & 0x04)