summaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm/global_data.h
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-27 08:30:22 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-11-06 09:14:11 +0800
commit1ce61cbbe7b351041b31c59cf7c5d8b056a199ec (patch)
tree51894d18e724457d06e036c1a62ef4f2f14381a7 /arch/nios2/include/asm/global_data.h
parented02c532be690b3d0c3e15c81531785a788fd949 (diff)
downloadblackbird-obmc-uboot-1ce61cbbe7b351041b31c59cf7c5d8b056a199ec.tar.gz
blackbird-obmc-uboot-1ce61cbbe7b351041b31c59cf7c5d8b056a199ec.zip
nios2: fix map_physmem to do real cache mapping
Fix the map_physmem() to do real cache mapping. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/nios2/include/asm/global_data.h')
-rw-r--r--arch/nios2/include/asm/global_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/global_data.h b/arch/nios2/include/asm/global_data.h
index d6a2cfab4f..9f3bd00197 100644
--- a/arch/nios2/include/asm/global_data.h
+++ b/arch/nios2/include/asm/global_data.h
@@ -18,6 +18,7 @@ struct arch_global_data {
int has_initda;
int has_mmu;
u32 io_region_base;
+ u32 mem_region_base;
};
#include <asm-generic/global_data.h>
OpenPOWER on IntegriCloud