summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2011-10-05 03:32:43 -0700
committerGabe Black (Do Not Use) <gabeblack@google.com>2011-10-06 02:46:20 -0700
commit12275b8f02a482d0bc8477a0f53363204e6c4afd (patch)
tree1d175b25b4ebb43335daca389fce38131b76b00b /common
parent0da36642921b0000a6e8555c00f7d3f47a339107 (diff)
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 <gabeblack@google.com> Reviewed-on: http://gerrit.chromium.org/gerrit/8823 Reviewed-by: Stefan Reinauer <reinauer@google.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_vbexport_test.c2
-rw-r--r--common/cmd_vboot_test.c2
-rw-r--r--common/cmd_vboot_twostop.c2
3 files changed, 3 insertions, 3 deletions
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;
}