arm: mvebu: db-88f6820-gp.h: Add SATA/SCSI (AHCI) support
authorStefan Roese <sr@denx.de>
Mon, 29 Jun 2015 12:58:14 +0000 (14:58 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Fri, 10 Jul 2015 12:55:50 +0000 (14:55 +0200)
Configure and enable the SATA/SCSI (AHCI) support for the Marvell
DB-88F6820-GP eval board.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
include/configs/db-88f6820-gp.h

index 9ea1624153b0ddb5cd71892f29f0a578cb5f93f3..5bdb29f2fa912416b4d78c80b3edddf49dfd837f 100644 (file)
 #define CONFIG_MV_SDHCI
 #define CONFIG_SYS_MMC_BASE            MVEBU_SDIO_BASE
 
+/*
+ * SATA/SCSI/AHCI configuration
+ */
+#define CONFIG_LIBATA
+#define CONFIG_SCSI_AHCI
+#define CONFIG_SCSI_AHCI_PLAT
+#define CONFIG_SYS_SCSI_MAX_SCSI_ID    2
+#define CONFIG_SYS_SCSI_MAX_LUN                1
+#define CONFIG_SYS_SCSI_MAX_DEVICE     (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
+                                        CONFIG_SYS_SCSI_MAX_LUN)
+
 /* Partition support */
 #define CONFIG_DOS_PARTITION
 #define CONFIG_EFI_PARTITION