summaryrefslogtreecommitdiff
path: root/include/configs/sandbox.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:36:23 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit74c6dc14447e8386dd0799611d316eae5aad1e10 (patch)
tree4b004d1d7f432e7d512edf6baadecdf06dc963e3 /include/configs/sandbox.h
parent145df842b443a2f2323a11f6e61223e3767dc55c (diff)
dm: sandbox: Enable IDE
Enable building the IDE code for sandbox. This is for build coverage only. It does not currently work. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/sandbox.h')
-rw-r--r--include/configs/sandbox.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 9790a14b02..a2926fd733 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -192,4 +192,14 @@
#define CONFIG_CMD_LZMADEC
#define CONFIG_CMD_DATE
+#define CONFIG_CMD_IDE
+#define CONFIG_SYS_IDE_MAXBUS 1
+#define CONFIG_SYS_ATA_IDE0_OFFSET 0
+#define CONFIG_SYS_IDE_MAXDEVICE 2
+#define CONFIG_SYS_ATA_BASE_ADDR 0x100
+#define CONFIG_SYS_ATA_DATA_OFFSET 0
+#define CONFIG_SYS_ATA_REG_OFFSET 1
+#define CONFIG_SYS_ATA_ALT_OFFSET 2
+#define CONFIG_SYS_ATA_STRIDE 4
+
#endif