Skip to content
Commit 03ffa9af authored by Dhaval Shah's avatar Dhaval Shah Committed by Linus Walleij
Browse files

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: default avatarDhaval Shah <dhaval.r.shah@amd.com>
Signed-off-by: default avatarSai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Reviewed-by: default avatarMichal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20230731095026.3766675-2-sai.krishna.potthuri@amd.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 046d3546
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment