[U-Boot] [PATCH] mx6cuboxi: Add support for sata
Tom Rini
trini at konsulko.com
Sat Mar 4 19:05:27 UTC 2017
On Sat, Mar 04, 2017 at 06:36:28PM +0000, Peter Robinson wrote:
> The Cubox-i and Hummingboard series of devices have an option of
> SATA on board, and depending on how the fuses are blown even the
> option to boot SPL from SATA. So enable support for it so it can
> be used to boot the OS from if people desire.
>
> Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
> ---
> board/solidrun/mx6cuboxi/mx6cuboxi.c | 7 +++++++
> include/configs/mx6cuboxi.h | 12 ++++++++++++
[snip]
> +/* SATA Configuration */
> +#define CONFIG_CMD_SATA
> +#ifdef CONFIG_CMD_SATA
Please move CMD_SATA to cmd/Kconfig. You don't have to migrate everyone
over.
> +#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
Bonus points if you move some these over to the existing sata section on
drivers/block/Kconfig :)
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170304/cca41ae5/attachment.sig>
More information about the U-Boot
mailing list