9
0
Fork 0
barebox/arch/sandbox
Sascha Hauer b792124a7d rework remap_range
remap_range is for remapping regions with different cache attributes.
It is implemented for ARM and PowerPC only, the other architectures only
provide stubs.
Currently the new cache attributes are passed in an architecture specific
way and the attributes have to be retrieved by calls to
mmu_get_pte_cached_flags() and mmu_get_pte_uncached_flags().
Make this simpler by providing architecture independent flags which can
be directly passed to remap_range()
Also provide a MAP_ARCH_DEFAULT flag and a arch_can_remap() function.
The MAP_ARCH_DEFAULT defaults to whatever caching type the architecture
has as default. the arch_can_remap() function returns true if the
architecture can change the cache attributes, false otherwise. This
allows the memtest code to better find out what it has to do.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-11-03 07:27:44 +01:00
..
board restart: replace reset_cpu with registered restart handlers 2015-08-27 21:37:03 +02:00
configs sandbox: Update defconfig 2015-07-20 07:29:23 +02:00
dts sandbox: add sample dts 2015-03-06 07:42:21 +01:00
include/asm rework remap_range 2015-11-03 07:27:44 +01:00
lib kbuild: move asm-offsets.h rule to ./Kbuild 2015-01-08 13:55:38 +01:00
mach-sandbox/include/mach restart: replace reset_cpu with registered restart handlers 2015-08-27 21:37:03 +02:00
os restart: replace reset_cpu with registered restart handlers 2015-08-27 21:37:03 +02:00
Kconfig sandbox: add support to pass dtb to barebox 2015-03-06 07:42:21 +01:00
Makefile sandbox: add sample dts 2015-03-06 07:42:21 +01:00