u-boot/arch/microblaze/include/asm
Ovidiu Panait 95b7a8fd12 microblaze: cache: introduce cpuinfo structure
Introduce a minimal cpuinfo structure to hold cache related info. The
instruction/data cache size and cache line size are initialized early in
the boot to default Kconfig values. They will be overwritten with data
from PVR/dtb if the microblaze UCLASS_CPU driver is enabled.

The cpuinfo struct was placed in global_data to allow the microblaze
UCLASS_CPU driver to also run before relocation (initialized global data
should be read-only before relocation).

gd_cpuinfo() helper macro was added to avoid volatile
"-Wdiscarded-qualifiers" warnings when using the pointer directly.

Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link: https://lore.kernel.org/r/20220531181435.3473549-10-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com> (s/bralid/brlid/)
2022-06-24 14:16:00 +02:00
..
asm.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bitops.h microblaze: Fix C99/gnu99 compatiblity for inline functions 2015-11-19 13:09:41 +01:00
byteorder.h microblaze: Fix byteorder for microblaze 2012-11-07 17:11:14 +01:00
cache.h microblaze: cache: introduce flush_cache_all() 2022-06-24 14:16:00 +02:00
config.h lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
cpuinfo.h microblaze: cache: introduce cpuinfo structure 2022-06-24 14:16:00 +02:00
dma-mapping.h dma-mapping: add <asm/dma-mapping.h> for all architectures 2020-02-20 15:09:54 +08:00
global_data.h microblaze: cache: introduce cpuinfo structure 2022-06-24 14:16:00 +02:00
gpio.h microblaze: Convert generic platform to DM gpio 2018-07-19 10:49:55 +02:00
io.h microblaze: Add support for little/big endian in/out api's 2020-09-23 10:31:40 +02:00
linkage.h efi: Use asmlinkage for EFIAPI 2016-10-19 09:01:53 +02:00
microblaze_intc.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
microblaze_timer.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
posix_types.h microblaze: Fix printf size_t format related warnings (again...) 2014-09-09 09:58:36 +02:00
processor.h microblaze: u-boot.lds: replace __end symbol with _end 2022-01-05 10:22:02 +01:00
ptrace.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
sections.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
string.h Remove unneeded remnants of bcopy(). 2016-06-06 13:39:18 -04:00
system.h microblaze: Do not place u-boot to reserved memory location 2022-03-07 16:33:47 +01:00
types.h arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
u-boot.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
unaligned.h microblaze: Fix unaligned.h for endians 2011-10-10 08:54:28 +02:00