aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2020-08-14 10:27:22 -0700
committerAlistair Delva <adelva@google.com>2020-10-02 07:16:53 -0700
commitcd52b78b73a60007c6be6122830bb4a691eba428 (patch)
treefdb223b6c8d9eba46d9439046f309073709a16db
parent1c71033741a3a23ee7dec3a7a0c0992ebaed2aa1 (diff)
downloadplatform_external_u-boot-cd52b78b73a60007c6be6122830bb4a691eba428.tar.gz
platform_external_u-boot-cd52b78b73a60007c6be6122830bb4a691eba428.tar.bz2
platform_external_u-boot-cd52b78b73a60007c6be6122830bb4a691eba428.zip
ANDROID: cf-x86_defconfig: Align command config to crosvm feature set
Disable various drivers that do not work or do not make sense for either crosvm or our intended use cases. Enable CONFIG_PARTITION_TYPE_GUID which makes "part list virtio 0" work usefully, CONFIG_CMD_READ and CONFIG_CMD_SETEXPR, because they are useful, and CONFIG_CMD_AB_SELECT for build coverage of this Android feature. CONFIG_CMD_BOOTZ is also enabled, but it does not work yet. Bug: 169336575 Signed-off-by: Alistair Delva <adelva@google.com> [rammuthiah: Updated change to build post v2020.10 merge] Signed-off-by: Ram Muthiah <rammuthiah@google.com> Change-Id: I51131cda717f83cc48ce14f345f9826ee8e44dec
-rw-r--r--configs/cf-x86_defconfig32
1 files changed, 23 insertions, 9 deletions
diff --git a/configs/cf-x86_defconfig b/configs/cf-x86_defconfig
index 0ff6a36fb0..0c60dc68d3 100644
--- a/configs/cf-x86_defconfig
+++ b/configs/cf-x86_defconfig
@@ -16,21 +16,35 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
CONFIG_LAST_STAGE_INIT=y
CONFIG_ANDROID_AB=y
CONFIG_HUSH_PARSER=y
-CONFIG_CMD_CPU=y
+# CONFIG_CMD_BDI is not set
+# CONFIG_CMD_CONSOLE is not set
+CONFIG_CMD_BOOTZ=y
+# CONFIG_BOOTM_NETBSD is not set
+# CONFIG_BOOTM_PLAN9 is not set
+# CONFIG_BOOTM_RTEMS is not set
+# CONFIG_BOOTM_VXWORKS is not set
+# CONFIG_CMD_ELF is not set
+# CONFIG_CMD_FDT is not set
+# CONFIG_CMD_GO is not set
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_XIMG is not set
+# CONFIG_CMD_MEMORY is not set
+# CONFIG_CMD_DM is not set
CONFIG_CMD_GPT=y
# CONFIG_RANDOM_UUID is not set
+# CONFIG_CMD_IO is not set
+# CONFIG_CMD_LOADB is not set
+# CONFIG_CMD_LOADS is not set
CONFIG_CMD_PART=y
-# CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_READ=y
+CONFIG_CMD_AB_SELECT=y
CONFIG_CMD_DHCP=y
# CONFIG_CMD_NFS is not set
CONFIG_CMD_PING=y
-CONFIG_CMD_TIME=y
-CONFIG_CMD_QFW=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_EXT4=y
-CONFIG_CMD_EXT4_WRITE=y
-CONFIG_CMD_FAT=y
-CONFIG_CMD_FS_GENERIC=y
+# CONFIG_CMD_BLOCK_CACHE is not set
+# CONFIG_CMD_GETTIME is not set
+# CONFIG_CMD_IRQ is not set
+CONFIG_PARTITION_TYPE_GUID=y
CONFIG_ENV_IS_IN_RAW_DISK=y
CONFIG_ENV_RAW_DISK_INTERFACE="virtio"
CONFIG_ENV_RAW_DISK_DEVICE_AND_PART="0:1"