summaryrefslogtreecommitdiff
path: root/include/configs/coreboot.h
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2011-10-25 18:53:30 -0700
committerGabe Black <gabeblack@chromium.org>2011-10-28 14:05:53 -0700
commit9cc618b104c14f2f123cac6369d1b984e047ed94 (patch)
treee615451701d7062cc393a75a703d7f4523c717a8 /include/configs/coreboot.h
parentbd6d2d8bae1544863b6290cf853dd207fa825c05 (diff)
Add a high level option to the coreboot config to control IDE support
Disable it by default since we're using the SCSI interface now. Being able to turn IDE back on later might be necessary if we haven't gotten AHCI support working on a new platform yet. BUG=chrome-os-partner:6585 TEST=Built and booted on Stumpy. Change-Id: I07e80dc2673529f3f2ec52431e1c0958511539b0 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/10753 Commit-Ready: Gabe Black <gabeblack@chromium.org> Reviewed-by: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'include/configs/coreboot.h')
-rw-r--r--include/configs/coreboot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index bdb1ab9d42..90a9a4283b 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -34,6 +34,7 @@
#define CONFIG_SYS_COREBOOT
#define CONFIG_SHOW_BOOT_PROGRESS
#define BUILD_CMD_LINE_STUFF 0
+#define BUILD_IDE_STUFF 0
/* FDT support */
#define CONFIG_OF_LIBFDT /* Device tree support */
@@ -100,6 +101,7 @@
"stdout=serial,cbmem\0" \
"stderr=vga,serial,cbmem\0"
+#if BUILD_IDE_STUFF
/* max. 1 IDE bus */
#define CONFIG_SYS_IDE_MAXBUS 1
/* max. 1 drive per IDE bus */
@@ -111,6 +113,7 @@
#define CONFIG_SYS_ATA_DATA_OFFSET 0
#define CONFIG_SYS_ATA_REG_OFFSET 0
#define CONFIG_SYS_ATA_ALT_OFFSET 0x200
+#endif
#define CONFIG_GENERIC_MMC