From: Tom Rini Date: Sat, 4 Mar 2017 14:05:27 -0500 Subject: [U-Boot] [PATCH] mx6cuboxi: Add support for sata In-Reply-To: <20170304183628.8933-1-pbrobinson@gmail.com> References: <20170304183628.8933-1-pbrobinson@gmail.com> Message-ID: <20170304190527.GD19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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: