[U-Boot] [PATCH 2/2] Use loop block device in sandbox board
Pavel Herrmann
morpheus.ibis at gmail.com
Sat Sep 1 15:19:09 CEST 2012
Signed-off-by: Pavel Herrmann <morpheus.ibis at gmail.com>
---
include/configs/sandbox.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 0220386..3126542 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -93,4 +93,13 @@
"stdout=serial\0" \
"stderr=serial\0"
+/* SATA loopback device */
+#define CONFIG_CMD_SATA
+#define CONFIG_SATA_LOOP
+#define CONFIG_SATA_LOOP_DISKS {"disk1", "obscenelylongfilename", "disk3"}
+#define CONFIG_SYS_SATA_MAX_DEVICE 3
+#define CONFIG_DOS_PARTITION
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_EXT2
+
#endif
--
1.7.12
More information about the U-Boot
mailing list