Explorar o código

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>
Bin Meng %!s(int64=9) %!d(string=hai) anos
pai
achega
c80ff56034
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/configs/x86-common.h

+ 2 - 0
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