summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-11-17 14:39:43 -0800
committerGerrit <chrome-bot@google.com>2011-11-18 17:13:47 -0800
commit776b8c1bf784cfc16032ac78d52349c88ddb67d3 (patch)
treec798e9a3651f1c512dd0cfc58ef49c446acec9fe /common
parenta4a24c8a87ee3121bde71dde04e58b699670761d (diff)
Fix bug introduced by hardware-mapped SPI
This was missed at the time. BUG=chrome-os-partner:6585, chromium-os:22528 TEST=build and boot on Kaen, see that it doesn't cold reboot now Change-Id: Ied4f08a5078312dbee4ae4b0715e5c02d55f159a Reviewed-on: https://gerrit.chromium.org/gerrit/11879 Commit-Ready: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_vboot_twostop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_vboot_twostop.c b/common/cmd_vboot_twostop.c
index ff6e8c9473..3ac7185065 100644
--- a/common/cmd_vboot_twostop.c
+++ b/common/cmd_vboot_twostop.c
@@ -660,7 +660,7 @@ static int setup_gbb_and_cdata(void **gbb, crossystem_data_t **cdata,
{
size_t size;
-#ifdef CONFIG_HARDWARE_MAPPED_SPI
+#ifndef CONFIG_HARDWARE_MAPPED_SPI
*gbb = fdt_decode_chromeos_alloc_region(gd->blob,
"google-binary-block", &size);
#endif