sandbox: Don't use IDE and iotrace in SPL
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:57:52 +0000 (11:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
These functions are not supported in SPL, so drop them.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/configs/sandbox.h

index 23a0c40ca528a8377416d4036f6d46ffdeff29e2..4de89f8879d07105e3d5240fc8f62edad4b1a8be 100644 (file)
 
 #endif
 
+#ifndef CONFIG_SPL_BUILD
 #define CONFIG_IO_TRACE
 #define CONFIG_CMD_IOTRACE
+#endif
 
 #ifndef CONFIG_TIMER
 #define CONFIG_SYS_TIMER_RATE          1000000
 #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
 #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