diff options
author | Ovidiu Panait <ovpanait@gmail.com> | 2022-05-31 21:14:34 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-06-24 14:16:00 +0200 |
commit | 9df16c5937f68654fb2b67f932319c375f8e4e45 (patch) | |
tree | ebc707f01f5adb332eda3759a6ded58d81675161 /board/xilinx | |
parent | 064057fdbee085dba17f7afc298deb9ffbf3382a (diff) | |
download | u-boot-9df16c5937f68654fb2b67f932319c375f8e4e45.tar.gz u-boot-9df16c5937f68654fb2b67f932319c375f8e4e45.tar.bz2 u-boot-9df16c5937f68654fb2b67f932319c375f8e4e45.zip |
microblaze: add support for handling PVR data
Add helper code for PVR (Processor Version Register) data handling. It
will be used by the UCLASS_CPU driver to populate cpuinfo fields at
runtime.
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link: https://lore.kernel.org/r/20220531181435.3473549-13-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/microblaze-generic/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/xilinx/microblaze-generic/Kconfig b/board/xilinx/microblaze-generic/Kconfig index 90f79cfb94..dd5eacef52 100644 --- a/board/xilinx/microblaze-generic/Kconfig +++ b/board/xilinx/microblaze-generic/Kconfig @@ -109,4 +109,12 @@ config XILINX_MICROBLAZE0_ICACHE_SIZE the device tree, or when the instruction cache is flushed very early in the boot process, before device tree is available. +config XILINX_MICROBLAZE0_PVR + bool "MicroBlaze PVR support" + help + Enables helper functions and macros needed to manipulate PVR + (Processor Version Register) data. Currently, only the microblaze + UCLASS_CPU driver makes use of this feature to retrieve CPU info at + runtime. + endif |