[U-Boot] [PATCH] SATA: do not auto-initialize during boot

Mike Frysinger vapier at gentoo.org
Thu Dec 11 21:02:46 CET 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20081211/4f61d5be/attachment.pgp 


More information about the U-Boot mailing list