diff options
author | Che-Liang Chiou <clchiou@chromium.org> | 2011-07-12 19:41:36 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:58:52 -0700 |
commit | 243e5fea60e15413bbffe63a9d8051e4d7b9ec52 (patch) | |
tree | e31dcb4109f9a9514ad22a4ab7692e7106952f30 /common | |
parent | d9bdc598a3ff8273b5df95f7439cefa2355ccde6 (diff) |
CHROMIUM: twostop: add offset of onestop section to loader
BUG=chromium-os:17056
TEST=boot on Seaboard
Change-Id: I4a742c5b8828f14347d7cf08fb660eb383dac0bc
Reviewed-on: http://gerrit.chromium.org/gerrit/3934
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_cros_onestop_firmware.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_cros_onestop_firmware.c b/common/cmd_cros_onestop_firmware.c index 91c4aca11f..189b232563 100644 --- a/common/cmd_cros_onestop_firmware.c +++ b/common/cmd_cros_onestop_firmware.c @@ -161,6 +161,7 @@ static uint32_t init_internal_state_bottom_half(firmware_storage_t *file, } if (file->read(file, + fmap->readonly.ro_onestop.offset + fmap->onestop_layout.fwid.offset, fmap->onestop_layout.fwid.length, frid)) { @@ -290,6 +291,7 @@ static uint32_t load_kernel_subkey_a(firmware_storage_t *file, VBDEBUG(PREFIX "reading kernel subkey A\n"); if (file->read(file, + fmap->readonly.ro_onestop.offset + fmap->onestop_layout.vblock.offset, fmap->onestop_layout.vblock.length, key_block)) { @@ -500,6 +502,7 @@ static uint32_t rewritable_boot_init(firmware_storage_t *file, int w; if (file->read(file, + fmap->readwrite_a.rw_a_onestop.offset + fmap->onestop_layout.fwid.offset, fmap->onestop_layout.fwid.length, fwid)) { |