From 12275b8f02a482d0bc8477a0f53363204e6c4afd Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 5 Oct 2011 03:32:43 -0700 Subject: Revert "Add support for a bios-base device tree/flashmap setting" This reverts commit 8e93aec313c2807704b14fbd21123a9ffc86a087. The bios-base setting has been deprecated. BUG=None TEST=Built and booted on Stumpy. Change-Id: I792761ac44763b06bf1d3abb4db8e9e1a3f113c5 Signed-off-by: Gabe Black Reviewed-on: http://gerrit.chromium.org/gerrit/8823 Reviewed-by: Stefan Reinauer --- common/cmd_vbexport_test.c | 2 +- common/cmd_vboot_test.c | 2 +- common/cmd_vboot_twostop.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'common') diff --git a/common/cmd_vbexport_test.c b/common/cmd_vbexport_test.c index 6a63f11091e..c267e12f479 100644 --- a/common/cmd_vbexport_test.c +++ b/common/cmd_vbexport_test.c @@ -418,7 +418,7 @@ static uint8_t *read_gbb_from_firmware(void) } /* Open firmware storage device. */ - if (firmware_storage_open_spi(&file, fmap.firmware_base)) { + if (firmware_storage_open_spi(&file)) { VbExDebug("Failed to open firmware device!\n"); return NULL; } diff --git a/common/cmd_vboot_test.c b/common/cmd_vboot_test.c index 5682134f7eb..8521a62e03c 100644 --- a/common/cmd_vboot_test.c +++ b/common/cmd_vboot_test.c @@ -61,7 +61,7 @@ static int do_vboot_test_fwrw(cmd_tbl_t *cmdtp, target_buf[i] = i & 0xff; /* Open firmware storage device. */ - if (firmware_storage_open_spi(&file, 0)) { + if (firmware_storage_open_spi(&file)) { VbExDebug("Failed to open firmware device!\n"); return 1; } diff --git a/common/cmd_vboot_twostop.c b/common/cmd_vboot_twostop.c index 0088e72fef3..d56b627141b 100644 --- a/common/cmd_vboot_twostop.c +++ b/common/cmd_vboot_twostop.c @@ -467,7 +467,7 @@ twostop_init(struct twostop_fmap *fmap, firmware_storage_t *file, dump_fmap(fmap); /* We revert the decision of using firmware_storage_open_twostop() */ - if (firmware_storage_open_spi(file, fmap->firmware_base)) { + if (firmware_storage_open_spi(file)) { VBDEBUG(PREFIX "failed to open firmware storage\n"); return -1; } -- cgit v1.2.3