u-boot/arch
Lukasz Wiecaszek 95167db37c arm: Check FEAT_CCIDX when parsing ccsidr_el1 register
Current Cache Size ID Register (ccsidr_el1) has two "flavors"
depending on whether FEAT_CCIDX is implemented or not.
When FEAT_CCIDX is implemented Associativity parameter
is coded on bits [23:3] and NumSets parameter on bits [55:32].
When FEAT_CCIDX is not implemented then Associativity parameter
is coded on bits [12:3] and NumSets parameter on bits [27:13].
Current U-Boot code does not check whether FEAT_CCIDX is implemented
and always parses ccsidr_el1 as if FEAT_CCIDX was not implemented.
This is of course wrong on systems where FEAT_CCIDX is implemented.
This patch fixes that problems and tests whether FEAT_CCIDX
is implemented or not and accordingly parses the ccsidr_el1 register.

Signed-off-by: Lukasz Wiecaszek <lukasz.wiecaszek@gmail.com>
2024-03-19 18:40:47 -04:00
..
arc
arm arm: Check FEAT_CCIDX when parsing ccsidr_el1 register 2024-03-19 18:40:47 -04:00
m68k
microblaze
mips Merge tag 'u-boot-socfpga-next-20240319' of https://source.denx.de/u-boot/custodians/u-boot-socfpga into next 2024-03-19 09:10:30 -04:00
nios2 Kconfig: Centralize prompting for SYS_CONFIG_NAME 2024-02-27 14:18:54 -05:00
powerpc
riscv Merge tag 'u-boot-socfpga-next-20240319' of https://source.denx.de/u-boot/custodians/u-boot-socfpga into next 2024-03-19 09:10:30 -04:00
sandbox sandbox: dts: fix qcom pmic gpio 2024-03-01 14:44:36 +00:00
sh ARM: renesas: Rename ARCH_RMOBILE to ARCH_RENESAS 2024-03-02 14:29:36 -05:00
x86
xtensa
.gitignore
Kconfig Kconfig: move CONFIG_32/64BIT to arch/Kconfig 2024-03-13 12:40:43 -04:00
Kconfig.nxp
u-boot-elf.lds