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 --- include/chromeos/firmware_storage.h | 5 +---- include/chromeos/fmap.h | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'include') diff --git a/include/chromeos/firmware_storage.h b/include/chromeos/firmware_storage.h index 5f13bb36bde..2ef6e2b0348 100644 --- a/include/chromeos/firmware_storage.h +++ b/include/chromeos/firmware_storage.h @@ -26,8 +26,6 @@ * @return 0 if it succeeds, non-zero if it fails */ typedef struct firmware_storage_t { - /* The offset of the firmware image inside the ROM. */ - uint32_t firmware_base; int (*read)(struct firmware_storage_t *file, uint32_t offset, uint32_t count, void *buf); int (*write)(struct firmware_storage_t *file, @@ -41,10 +39,9 @@ typedef struct firmware_storage_t { * This opens SPI flash device * * @param file - the opened SPI flash device - * @param firmware_base - the offset of the firmware in the ROM * @return 0 if it succeeds, non-zero if it fails */ -int firmware_storage_open_spi(firmware_storage_t *file, uint64_t firmware_base); +int firmware_storage_open_spi(firmware_storage_t *file); int firmware_storage_open_twostop(firmware_storage_t *file, struct twostop_fmap *fmap); diff --git a/include/chromeos/fmap.h b/include/chromeos/fmap.h index 3c9db3e6046..13eb3d80bb6 100644 --- a/include/chromeos/fmap.h +++ b/include/chromeos/fmap.h @@ -40,8 +40,6 @@ struct twostop_fmap { struct fmap_firmware_entry readwrite_a; struct fmap_firmware_entry readwrite_b; - - uint64_t firmware_base; }; void dump_fmap(struct twostop_fmap *config); -- cgit v1.2.3