summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-04 11:57:52 -0600
committerSimon Glass <sjg@chromium.org>2016-07-14 20:40:24 -0600
commit1c12bcee70d99fa4f4124a87ea965526ee164d3c (patch)
tree61f0aa66d2f4a5774f7717bd539f94ab5e08cecf /include/configs
parente961a66df91ea4cbf9b6978995f1ba6c8d67aa33 (diff)
downloadu-boot-1c12bcee70d99fa4f4124a87ea965526ee164d3c.tar.gz
sandbox: Don't use IDE and iotrace in SPL
These functions are not supported in SPL, so drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/sandbox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 23a0c40ca5..4de89f8879 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -16,8 +16,10 @@
#endif
+#ifndef CONFIG_SPL_BUILD
#define CONFIG_IO_TRACE
#define CONFIG_CMD_IOTRACE
+#endif
#ifndef CONFIG_TIMER
#define CONFIG_SYS_TIMER_RATE 1000000
@@ -192,6 +194,7 @@
#define CONFIG_CMD_LZMADEC
#define CONFIG_CMD_DATE
+#ifndef CONFIG_SPL_BUILD
#define CONFIG_CMD_IDE
#define CONFIG_SYS_IDE_MAXBUS 1
#define CONFIG_SYS_ATA_IDE0_OFFSET 0
@@ -201,6 +204,7 @@
#define CONFIG_SYS_ATA_REG_OFFSET 1
#define CONFIG_SYS_ATA_ALT_OFFSET 2
#define CONFIG_SYS_ATA_STRIDE 4
+#endif
#define CONFIG_SCSI
#define CONFIG_SCSI_AHCI_PLAT