summaryrefslogtreecommitdiff
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorMingkai Hu <Mingkai.hu@freescale.com>2009-08-18 15:37:15 +0800
committerKumar Gala <galak@kernel.crashing.org>2009-08-28 17:12:41 -0500
commit76b474e2f5a223fcabfeaa4f1c8fb699062b986c (patch)
tree5b3dc4828ac7b9ce1775778f0296480ba6c87be0 /include/asm-ppc
parent158c6724c99368a4d8eef11ee7e3c7ad0ef03a15 (diff)
downloadu-boot-imx-76b474e2f5a223fcabfeaa4f1c8fb699062b986c.zip
u-boot-imx-76b474e2f5a223fcabfeaa4f1c8fb699062b986c.tar.gz
u-boot-imx-76b474e2f5a223fcabfeaa4f1c8fb699062b986c.tar.bz2
85xx: Add L2SRAM Register's macro definition
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/immap_85xx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h
index 0efef05..375d804 100644
--- a/include/asm-ppc/immap_85xx.h
+++ b/include/asm-ppc/immap_85xx.h
@@ -411,6 +411,11 @@ typedef struct ccsr_l2cache {
char res15[420];
} ccsr_l2cache_t;
+#define MPC85xx_L2CTL_L2E 0x80000000
+#define MPC85xx_L2CTL_L2SRAM_ENTIRE 0x00010000
+#define MPC85xx_L2ERRDIS_MBECC 0x00000008
+#define MPC85xx_L2ERRDIS_SBECC 0x00000004
+
/*
* DMA Registers(0x2_1000-0x2_2000)
*/