summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2012-01-13 13:41:13 -0800
committerGabe Black <gabeblack@chromium.org>2012-01-13 20:23:36 -0800
commit07e922f87d3dbf1013e209f97eea442db1e0f998 (patch)
treec3a643a0749a1267e10264ca3f94b5a8112836b3 /include
parenta1891ae371e1ff70e973c6224beaf6d074e63ace (diff)
Coreboot: Compile out disk partition and file system code
The code which provides GPT support has some potential security issues in it. Since we're not using it anyway, we might as well just turn it off. BUG=chromium-os:25041 BUG=chromium-os:25042 TEST=Built and booted on Lumpy with various options turned on and off. Signed-off-by: Gabe Black <gabeblack@google.com> Change-Id: I7618ba1a34e553094c1cd96bfe892c9c6d0f02ba Reviewed-on: https://gerrit.chromium.org/gerrit/14180 Reviewed-by: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'include')
-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 164195096e..43c8eee4e4 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -36,6 +36,7 @@
#define BUILD_CMD_LINE_STUFF 0
#define BUILD_IDE_STUFF 0
#define BUILD_NETWORK_STUFF 0
+#define BUILD_PART_FS_STUFF 0
/* FDT support */
#define CONFIG_OF_LIBFDT /* Device tree support */
@@ -119,6 +120,7 @@
#define CONFIG_SYS_ATA_ALT_OFFSET 0x200
#endif
+#if BUILD_PART_FS_STUFF
#define CONFIG_SUPPORT_VFAT
/************************************************************
@@ -126,6 +128,7 @@
************************************************************/
#define CONFIG_EFI_PARTITION
#define CONFIG_DOS_PARTITION
+#endif
/*-----------------------------------------------------------------------