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

Kumar Gala galak at kernel.crashing.org
Thu Dec 11 17:18:36 CET 2008


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.

- k


More information about the U-Boot mailing list