[U-Boot] [PATCH v2 37/44] dm: sandbox: Enable SCSI

Simon Glass sjg at chromium.org
Sun May 1 19:36:25 CEST 2016


Enable building the SCSI code for sandbox. This increases build coverage
for sandbox.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 include/configs/sandbox.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index a2926fd..affc9cc 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -202,4 +202,10 @@
 #define CONFIG_SYS_ATA_ALT_OFFSET	2
 #define CONFIG_SYS_ATA_STRIDE		4
 
+#define CONFIG_SCSI
+#define CONFIG_SCSI_AHCI_PLAT
+#define CONFIG_SYS_SCSI_MAX_DEVICE	2
+#define CONFIG_SYS_SCSI_MAX_SCSI_ID	8
+#define CONFIG_SYS_SCSI_MAX_LUN		4
+
 #endif
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list