target/xtensa: fetch HW version from configuration overlay
commit2cc2278edf0403720397a33b0747e0aba9e6d420
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 4 May 2020 11:30:45 +0000 (4 04:30 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 17 May 2020 21:52:25 +0000 (17 14:52 -0700)
tree1fa27a20ae75e64fbeb90e124c85de599f16cf7e
parent59afd43daedabe672c289326a5f268f737d35252
target/xtensa: fetch HW version from configuration overlay

Xtensa architecture has features which behavior depends on hardware
version. Provide hardware version information to translators: add
XtensaConfig::hw_version and use XCHAL_HW_VERSION from configuration
overlay to initialize it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/cpu.h
target/xtensa/overlay_tool.h