mosys: oak: get version from cros_ec
Since chromium:663243, the board version reported by mosys should be "revN"
for both x86 and non-x86 platforms. Few older platforms, for example nyan
and oak, were printing whole device tree identifier which is not the right
format, and cannot really identify board revision.
As a result we should fix that by using the version reported from EC.
TEST=emerge-elm mosys; emerge-kukui mosys; mosys platform version
Commit-Ready: Hsin-Yi Wang <email@example.com>
Tested-by: Hsin-Yi Wang <firstname.lastname@example.org>
Reviewed-by: Hung-Te Lin <email@example.com>
1 file changed