summaryrefslogtreecommitdiff
path: root/include/chromeos
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 /include/chromeos
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 'include/chromeos')
-rw-r--r--include/chromeos/firmware_storage.h5
-rw-r--r--include/chromeos/fmap.h2
2 files changed, 1 insertions, 6 deletions
diff --git a/include/chromeos/firmware_storage.h b/include/chromeos/firmware_storage.h
index 5f13bb36bd..2ef6e2b034 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 3c9db3e604..13eb3d80bb 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);