drivers: cpu: Add xtensa CPU driver

Implement various CPU related functions.
I'm actually just using it to get cpu clock frequency.

Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
This commit is contained in:
Jiaxun Yang
2024-06-18 14:56:07 +01:00
committed by Tom Rini
parent eb2daa0f4e
commit 51087a320d
3 changed files with 124 additions and 0 deletions

View File

@@ -33,3 +33,9 @@ config CPU_MICROBLAZE
select XILINX_MICROBLAZE0_PVR
help
Support CPU cores for Microblaze architecture.
config CPU_XTENSA
bool "Enable Xtensa CPU driver"
depends on CPU && XTENSA
help
Support CPU cores for Xtensa architecture.