summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIbai Erkiaga <[email protected]>2020-08-04 23:17:31 +0100
committerMichal Simek <[email protected]>2020-09-23 10:31:40 +0200
commitfa793165daf74133a2aef7cb98cc9050e36f0b6c (patch)
tree087369aa412b393138c1ed330cdba494e72dc68e /include/linux
parent2783e02da846e54387a022043f5880684dfd5e5e (diff)
xilinx: zynqmp: refactor silicon name function
Current algorithm used to get the silicon name is bit complicated and hard to follow. Updated to use more straightforward mechanism based on the Device ID code table (Table 1-2). The full IDCODE register is used (except device revision bits [31:28]) to get the device name and IDCODE2 value is used for identifying the variant. Additionally to make the algorithm bit more clear it also save some space as the devices table is slightly bit smaller. Signed-off-by: Ibai Erkiaga <[email protected]> Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions