diff options
| author | Michal Simek <[email protected]> | 2026-06-23 14:53:35 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2026-07-08 08:55:51 +0200 |
| commit | ad911ccef01f023087d1df1e980d6a3b5d940938 (patch) | |
| tree | d1162c9fe15e624f7b4def46983a656a23e5f8bb /drivers | |
| parent | 722cd61c35444835dbfbd0d2a25b2593eae3fe3f (diff) | |
arm64: versal2: Move SoC detection out of board code
soc_detection() and soc_name_decode() read the PMC_TAP version/idcode
registers and decode the platform. This is SoC information rather than
board policy, and a firmware interface could provide it instead, so it
does not belong in board code.
Move both functions, together with the shared platform_id and
platform_version state, into arch/arm/mach-versal2 where they still
override the weak stubs in the Xilinx common board code. The board file
drops the now unused linux/bitfield.h include.
Signed-off-by: Michal Simek <[email protected]>
Link: https://patch.msgid.link/c332ab27f66f1c808f32a4bcb453d9e8da543331.1782219202.git.michal.simek@amd.com
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions
