diff options
author | Tom Wai-Hong Tam <waihong@chromium.org> | 2011-06-01 18:21:48 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:39:23 -0700 |
commit | a299c32c4b3f4fc7352c9c80a9a5dc7e4e6e5941 (patch) | |
tree | 4283127d337468f20b7d1aa2cee8eca7a489f18b /include | |
parent | a0cb488f969a2621c8e61f815d4da310b88f5540 (diff) |
Read the RO/RW FWID from firmware storage instead of U-Boot version.
As the conclusion in the bug http://crosbug.com/15633, we use the ChromeOS
version string as RO/RW FWID. They are placed into the firmware during
packing the whole firmware. The U-Boot should use the offsets to find the
correct RO/RW FWID from firmware storage.
BUG=chromium-os:15633
TEST=emerge-tegra2_kaen u-boot-config chromeos-u-boot-next chromeos-bios
And run in ChromeOS Ctrl+Alt+T shell:
$ crossystem | grep fwid
fwid = 0.13.582.2011_06_01_1754 # Active firmware ID
ro_fwid = 0.13.582.2011_06_01_1754 # Read-only firmware ID
It also works on seaboard.
Change-Id: Ie2b42a0a60e0479b933af959ae9914cde6963b0b
Reviewed-on: http://gerrit.chromium.org/gerrit/1885
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/chromeos/kernel_shared_data.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/chromeos/kernel_shared_data.h b/include/chromeos/kernel_shared_data.h index 32bd86c1305..be6c21709b5 100644 --- a/include/chromeos/kernel_shared_data.h +++ b/include/chromeos/kernel_shared_data.h @@ -13,9 +13,6 @@ #include <vboot_nvstorage.h> -/* U-Boot version string with build datetime */ -extern const char version_string[]; - #define ID_LEN 256 typedef struct { |