x86: Only include cbfs command for coreboot
authorBin Meng <bmeng.cn@gmail.com>
Thu, 13 Aug 2015 07:29:14 +0000 (00:29 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:08 +0000 (07:54 -0700)
When running U-Boot bare-metal, the cbfs command is useless.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
include/configs/x86-common.h

index 349b06cb76a6dfc963cfbe328fb601b8c23ee609..3d07cc0c9239b71951d867faa138661a4c06b7f9 100644 (file)
@@ -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