From cbc44f70121ce1cb788974dd6042782cd8c8756e Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Sat, 29 Nov 2014 15:28:23 -0800 Subject: [PATCH] pistachio: allow more room for bootblock 32K is a more appropriate room for Pistachio bootblock. BRANCH=none BUG=chrome-os-partner:31438 TEST=there is no bootblock overflow even when compiled with -O0. Change-Id: I454746ce0b9daabc93ccbf3316655fac836af8ff Signed-off-by: Stefan Reinauer Original-Commit-Id: 56adf22ba12f5a7c69d11c0c720996de32ca9149 Original-Change-Id: I74b6674aea95b1138e2168527239e2cfb4a7ad42 Original-Signed-off-by: Vadim Bendebury Original-Reviewed-on: https://chromium-review.googlesource.com/232291 Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/9190 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/urara/Kconfig | 1 + src/soc/imgtec/pistachio/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/urara/Kconfig b/src/mainboard/google/urara/Kconfig index a9363f969e..26add608dc 100644 --- a/src/mainboard/google/urara/Kconfig +++ b/src/mainboard/google/urara/Kconfig @@ -23,6 +23,7 @@ if BOARD_GOOGLE_URARA config BOARD_SPECIFIC_OPTIONS def_bool y + select BOARD_ROMSIZE_KB_512 select BOOTBLOCK_CONSOLE select CONFIG_SPI_FLASH_WINBOND select CPU_IMGTEC_PISTACHIO diff --git a/src/soc/imgtec/pistachio/Kconfig b/src/soc/imgtec/pistachio/Kconfig index 70e5741cf1..46714444a4 100644 --- a/src/soc/imgtec/pistachio/Kconfig +++ b/src/soc/imgtec/pistachio/Kconfig @@ -37,11 +37,11 @@ config BOOTBLOCK_CPU_INIT config CBFS_ROM_OFFSET hex - default 0x4100 + default 0x8100 config CBFS_HEADER_ROM_OFFSET # Effectively the maximum size of the bootblock hex - default 0x4000 + default 0x8000 endif