summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2020-01-22 13:59:23 -0800
committerPatrick Georgi <pgeorgi@google.com>2020-01-27 07:46:59 +0000
commit3f3b4d5d74c4c9d4f01c7035c8626032cb9a6b56 (patch)
tree727c96d499fecab6b2ce1917d8ebb714b1727773
parent6f6afe514f508dd1062cc707d259b898eb7d37e1 (diff)
downloadcoreboot-3f3b4d5d74c4c9d4f01c7035c8626032cb9a6b56.tar.xz
google/octopus: Disable bootblock console
The GLK bootblock seems(?) to be hard limited to 32KB and some Octopus variants are so close to that that they only have 0.5KB left. This is blocking development of new core features, so let's disable the bootblock console to gain a couple of KB back (like we already did on RK3288). There are probably other opporunities for code size reduction here (e.g. it seems that almost half(!) of that whole bootblock size is taken up by devicetree.cb structures), but I'm not familiar enough with the platform to dig into them. Change-Id: I05b4ecf5abef7307e3d0a81db04a745ff3da0c42 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38521 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/octopus/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/Kconfig b/src/mainboard/google/octopus/Kconfig
index 3139716808..a4e49824fc 100644
--- a/src/mainboard/google/octopus/Kconfig
+++ b/src/mainboard/google/octopus/Kconfig
@@ -22,6 +22,7 @@ config BOARD_GOOGLE_BASEBOARD_OCTOPUS
select MAINBOARD_HAS_SPI_TPM_CR50
select MAINBOARD_HAS_TPM2
select GOOGLE_SMBIOS_MAINBOARD_VERSION
+ select NO_BOOTBLOCK_CONSOLE
select NO_FMAP_CACHE
if BOARD_GOOGLE_BASEBOARD_OCTOPUS