From c20ff482a73ddb752fa32fa9d4b3e89420d1fee9 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Tue, 15 Jul 2014 13:19:19 -0700 Subject: storm: allow to override CBFS_SIZE configuration setting The default CBFS size configuration setting is incorrect in case of Qualcomm SOC targets, as the coreboot blob is much smaller than the actual bootprom. Note that this size also must match the board fmap defined in the appropriate depthcharge board directory. BUG=chromium:394068 TEST=manual . previously failing to boot coreboot image does not fail to load depthcharge anymore. Original-Change-Id: I1b178970b1deee05705490542e4a0c57500379dd Original-Signed-off-by: Vadim Bendebury Original-Reviewed-on: https://chromium-review.googlesource.com/208146 Original-Reviewed-by: David Hendricks (cherry picked from commit 01f3561fdee7b5547534e20d423fbbb1b490532c) Signed-off-by: Marc Jones Change-Id: If573bbc6254cf6786e75970eae3ad2b327a7ecfe Reviewed-on: http://review.coreboot.org/8640 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Paul Menzel --- src/soc/qualcomm/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/soc') diff --git a/src/soc/qualcomm/Kconfig b/src/soc/qualcomm/Kconfig index b7a12d4f9c..918093b7d8 100644 --- a/src/soc/qualcomm/Kconfig +++ b/src/soc/qualcomm/Kconfig @@ -1 +1,9 @@ source src/soc/qualcomm/ipq806x/Kconfig + +config CBFS_SIZE + hex "Size of CBFS filesystem in ROM" + default ROM_SIZE + help + CBFS size needs to match the size of memory allocated to the + coreboot blob elsewhere in the system. Make sure this config option + is fine tuned in the board config file. -- cgit v1.2.3