diff options
author | Dhaval Shah <dhaval.r.shah@amd.com> | 2023-07-31 15:20:23 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-08-07 10:48:03 +0200 |
commit | 03ffa9af3a5ff88f9855b18584d00aca7eb43e6d (patch) | |
tree | d3678bc40e985dc0cc2b9967725e0b62acd9d0d2 /scripts/gdb/linux/tasks.py | |
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 <dhaval.r.shah@amd.com>
Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20230731095026.3766675-2-sai.krishna.potthuri@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions