diff options
author | Dhaval Shah <[email protected]> | 2023-07-31 15:20:23 +0530 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2023-08-07 10:48:03 +0200 |
commit | 03ffa9af3a5ff88f9855b18584d00aca7eb43e6d (patch) | |
tree | d3678bc40e985dc0cc2b9967725e0b62acd9d0d2 /tools/perf/util/trace-event-scripting.c | |
parent | 046d3546750a3e2f2e8e7d39318290604fe6f202 (diff) |
firmware: xilinx: Add support to get platform information
Add function to get family code and sub family code from the idcode. This
family code and sub family code helps to identify the platform.
Family code of any platform is on bits 21 to 27 and Sub family code is on
bits 19 and 20.
Signed-off-by: Dhaval Shah <[email protected]>
Signed-off-by: Sai Krishna Potthuri <[email protected]>
Reviewed-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions