summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-08-13 00:29:14 -0700
committerSimon Glass <sjg@chromium.org>2015-08-26 07:54:08 -0700
commitc80ff560347820c5472bbd39e5b709df325cc6c8 (patch)
treef3f3a99e9fef0ee83823063fe7dbf75b10becdf4 /include
parent8744bef5a139ede43f75a302f7e503f09577e37e (diff)
downloadu-boot-imx-c80ff560347820c5472bbd39e5b709df325cc6c8.zip
u-boot-imx-c80ff560347820c5472bbd39e5b709df325cc6c8.tar.gz
u-boot-imx-c80ff560347820c5472bbd39e5b709df325cc6c8.tar.bz2
x86: Only include cbfs command for coreboot
When running U-Boot bare-metal, the cbfs command is useless. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/x86-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 349b06c..3d07cc0 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -87,7 +87,9 @@
#define CONFIG_ISO_PARTITION /* Experimental */
#define CONFIG_CMD_PART
+#ifdef CONFIG_SYS_COREBOOT
#define CONFIG_CMD_CBFS
+#endif
#define CONFIG_CMD_EXT4
#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_PARTITION_UUIDS