[U-Boot] [PATCH v2 6/8] board: ge: bx50v3: make SATA optional and disabled by default

Martin Donnelly martin.donnelly at ge.com
Mon May 30 14:12:22 CEST 2016


On Mon, May 30, 2016 at 01:37:06PM +0200, Andrew Shadura wrote:
> The SATA support is only useful for development and shouldn't be enabled
> in production, so it has to be disabled in U-boot by default.
> 
> Signed-off-by: Andrew Shadura <andrew.shadura at collabora.co.uk>

Acked-by: Martin Donnelly <martin.donnelly at ge.com>

> ---
>  include/configs/ge_bx50v3.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
> index ccaa2b4..98f20c6 100644
> --- a/include/configs/ge_bx50v3.h
> +++ b/include/configs/ge_bx50v3.h
> @@ -60,13 +60,14 @@
>  #define CONFIG_MXC_OCOTP
>  
>  /* SATA Configs */
> -#define CONFIG_CMD_SATA
> +#ifdef CONFIG_CMD_SATA
>  #define CONFIG_DWC_AHSATA
>  #define CONFIG_SYS_SATA_MAX_DEVICE	1
>  #define CONFIG_DWC_AHSATA_PORT_ID	0
>  #define CONFIG_DWC_AHSATA_BASE_ADDR	SATA_ARB_BASE_ADDR
>  #define CONFIG_LBA48
>  #define CONFIG_LIBATA
> +#endif
>  
>  /* MMC Configs */
>  #define CONFIG_FSL_ESDHC
> -- 
> 2.7.4
> 


More information about the U-Boot mailing list