
11 Dec
2008
11 Dec
'08
9:02 p.m.
On Thursday 11 December 2008 11:18:36 Kumar Gala wrote:
On Dec 11, 2008, at 4:32 AM, Mike Frysinger wrote:
diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/ mpc8536ds/mpc8536ds.c index 2b17612..ada8020 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/board/freescale/mpc8536ds/mpc8536ds.c @@ -582,17 +582,6 @@ get_board_ddr_clk(ulong dummy) } #endif
-int is_sata_supported(void) -{
- volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
- uint sdrs2_io_sel =
(gur->pordevsr & MPC85xx_PORDEVSR_SRDS2_IO_SEL) >> 27;
- if (sdrs2_io_sel & 0x04)
return 0;
- return 1;
-}
you removed this but didn't put it anywhere.. that's not going to work.
of course it is going to work. if nothing calls it, why should it exist in the first place ? -mike