]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
omap5: cm-t54: add sata support
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Mon, 15 Dec 2014 14:02:59 +0000 (16:02 +0200)
committerTom Rini <trini@ti.com>
Mon, 5 Jan 2015 20:13:47 +0000 (15:13 -0500)
Add configs required for SATA support on CM-T54 board.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Reviewed-by: Tom Rini <trini@ti.com>
include/configs/cm_t54.h

index 92ce1e17dac6821f31e4ea93d235aa03cb600fb3..0cd4aec7e2f89a6343e7d1e4b56d7126a8818cc8 100644 (file)
 #define CONFIG_HSMMC2_8BIT
 #define CONFIG_SUPPORT_EMMC_BOOT
 
+/* SATA Boot related defines */
+#define CONFIG_SPL_SATA_SUPPORT
+#define CONFIG_SPL_SATA_BOOT_DEVICE            0
+#define CONFIG_SYS_SATA_FAT_BOOT_PARTITION     1
+
+#define CONFIG_CMD_SCSI
+#define CONFIG_LIBATA
+#define CONFIG_SCSI_AHCI
+#define CONFIG_SCSI_AHCI_PLAT
+#define CONFIG_SYS_SCSI_MAX_SCSI_ID    1
+#define CONFIG_SYS_SCSI_MAX_LUN                1
+#define CONFIG_SYS_SCSI_MAX_DEVICE     (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
+                                               CONFIG_SYS_SCSI_MAX_LUN)
 /* USB UHH support options */
 #define CONFIG_CMD_USB
 #define CONFIG_USB_HOST