diff options
author | Martin Roth <martin@se-eng.com> | 2012-04-26 16:04:18 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-04-28 02:45:22 +0200 |
commit | e9dfdd9dbdbe91cb5754671592ae3d1fc0916f3c (patch) | |
tree | 4d6728d6dbdd554d56d2b96d564faf179f5a16fa /util/ectool/ec.c | |
parent | 0e672b52d46f05aec066e7625c097e69baa62a23 (diff) |
Reverse Vendor ID & Device ID for map_oprom_vendev()
- When calling map_oprom_vendev() the vendor ID and device ID
are joined into a 32 bit value. They were reversed from the
order that I would have expected - Device ID as the high 16 bits
and the Vendor ID as the low 16. This patch reverses them so
so that the the dword comparison in map_oprom_vendev() matches
what's entered into Kconfig for vendor,device.
- Change files calling map_oprom_vendev()
Change-Id: I5b84db3cb1a359a7533409fde7d05fbc6ba3fcc4
Signed-off-by: Martin L Roth <martin@se-eng.com>
Reviewed-on: http://review.coreboot.org/938
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/ectool/ec.c')
0 files changed, 0 insertions, 0 deletions