Patchwork [U-Boot,v3,2/2] Use loop block device in sandbox board

login
register
mail settings
Submitter Pavel Herrmann
Date Sept. 5, 2012, 11:16 a.m.
Message ID <1346843795-4744-2-git-send-email-morpheus.ibis@gmail.com>
Download mbox | patch
Permalink /patch/181848/
State New
Delegated to: Simon Glass
Headers show

Comments

Pavel Herrmann - Sept. 5, 2012, 11:16 a.m.
Enable SATA_LOOP and a few disk-related commands for sandbox

Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
---
Changes for v3:
  drop static names for loop devices

Changes for v2:
  add a few words of description

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

Patch

diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 0220386..c238feb 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -93,4 +93,12 @@ 
 					"stdout=serial\0" \
 					"stderr=serial\0"
 
+/* SATA loopback device */
+#define CONFIG_CMD_SATA
+#define CONFIG_SATA_LOOP
+#define CONFIG_SYS_SATA_MAX_DEVICE 3
+#define CONFIG_DOS_PARTITION
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_EXT2
+
 #endif