]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Reduce size of samus image
authorSimon Glass <sjg@chromium.org>
Sun, 31 Jan 2021 16:17:07 +0000 (09:17 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2021 07:33:26 +0000 (15:33 +0800)
With the recent addition of ACPI generation, the image size has got beyond
its current limit.

Samus does not actually use this, nor x86 emulation for PCI ROMs, so
disable both features.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
configs/chromebook_samus_defconfig
include/configs/chromebook_samus.h

index c0d2b04ccdf0f43ed4f0e67170cbcf098fa4ff5a..71b5f8bdfea950445010e1bc692ae82be6542281 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
+# CONFIG_ACPIGEN is not set
 CONFIG_CPU=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_DW=y
index dfeede7e91a434189501ed0d0da29e6e9ecab7f1..2fe3e721993201d36953e9040b2196c575285e5b 100644 (file)
@@ -15,6 +15,9 @@
 #include <configs/x86-common.h>
 #include <configs/x86-chromebook.h>
 
+/* We can rely on running natively, and this saves code size */
+#undef CONFIG_BIOSEMU
+
 #undef CONFIG_STD_DEVICES_SETTINGS
 #define CONFIG_STD_DEVICES_SETTINGS     "stdin=usbkbd,i8042-kbd,serial\0" \
                                        "stdout=vidconsole,serial\0" \