summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-04-24 21:16:57 +0200
committerWolfgang Denk <wd@denx.de>2010-04-24 21:16:57 +0200
commita77034a8dfc7942ca08483138dccdebeacc36826 (patch)
treececf2628651fb6fafd22ac7b9d6cd3f3770df2b6 /arch/powerpc
parent500fbae2043532275e09a8666d837d052c9bad9a (diff)
parentcf6eb6da433179674571f9370566b1ec8989a41a (diff)
downloadu-boot-imx-a77034a8dfc7942ca08483138dccdebeacc36826.zip
u-boot-imx-a77034a8dfc7942ca08483138dccdebeacc36826.tar.gz
u-boot-imx-a77034a8dfc7942ca08483138dccdebeacc36826.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/mmu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h
index ce7f081..5166507 100644
--- a/arch/powerpc/include/asm/mmu.h
+++ b/arch/powerpc/include/asm/mmu.h
@@ -577,11 +577,16 @@ extern int num_tlb_entries;
#define SA_M 0x00000200 /* Memory coherence */
#define SA_G 0x00000100 /* Guarded */
#define SA_E 0x00000080 /* Endian */
+/* Some additional macros for combinations often used */
+#define SA_IG (SA_I | SA_G)
/* Access control */
#define AC_X 0x00000024 /* Execute */
#define AC_W 0x00000012 /* Write */
#define AC_R 0x00000009 /* Read */
+/* Some additional macros for combinations often used */
+#define AC_RW (AC_R | AC_W)
+#define AC_RWX (AC_R | AC_W | AC_X)
/* Some handy macros */