85xx: Fix compile warning in mpc8536ds.c
PATCH 1/1 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 <[email protected]>
--- board/freescale/mpc8536ds/mpc8536ds.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
board/freescale/mpc8536ds/mpc8536ds.c +0 -1
@@ -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 )
Signature · 1 line
1.5.5.1
Wolfgang Denk
AppliedPATCH 1/1 85xx: Fix compile warning in mpc8536ds.c
Dear Kumar Gala,
Quoted 7 lines · In message <[email protected]> you…
mpc8536ds.c: In function 'is_sata_supported':
mpc8536ds.c:615: warning: unused variable 'devdisr'Signed-off-by Kumar Gala <[email protected]>--- board/freescale/mpc8536ds/mpc8536ds.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have yet to add the ESP-driver to the kernel to read the mind of
the user... - Linus Torvalds in
<[email protected]>