2 * These files are taken from the MCF523X source code example package
\r
3 * which is available on the Freescale website. Freescale explicitly
\r
4 * grants the redistribution and modification of these source files.
\r
5 * The complete licensing information is available in the file
\r
6 * LICENSE_FREESCALE.TXT.
\r
8 * File: mcf523x_sram.h
\r
9 * Purpose: Register and bit definitions for the MCF523X
\r
15 #ifndef __MCF523X_SRAM_H__
\r
16 #define __MCF523X_SRAM_H__
\r
18 /*********************************************************************
\r
20 * 64KByte System SRAM (SRAM)
\r
22 *********************************************************************/
\r
24 /* Register read/write macros */
\r
25 #define MCF_SRAM_RAMBAR (*(vuint32*)(void*)(&__IPSBAR[0x20000000]))
\r
27 /* Bit definitions and macros for MCF_SRAM_RAMBAR */
\r
28 #define MCF_SRAM_RAMBAR_V (0x00000001)
\r
29 #define MCF_SRAM_RAMBAR_UD (0x00000002)
\r
30 #define MCF_SRAM_RAMBAR_UC (0x00000004)
\r
31 #define MCF_SRAM_RAMBAR_SD (0x00000008)
\r
32 #define MCF_SRAM_RAMBAR_SC (0x00000010)
\r
33 #define MCF_SRAM_RAMBAR_CI (0x00000020)
\r
34 #define MCF_SRAM_RAMBAR_WP (0x00000100)
\r
35 #define MCF_SRAM_RAMBAR_SPV (0x00000200)
\r
36 #define MCF_SRAM_RAMBAR_PRI2 (0x00000400)
\r
37 #define MCF_SRAM_RAMBAR_PRI1 (0x00000800)
\r
38 #define MCF_SRAM_RAMBAR_BA(x) (((x)&0x0000FFFF)<<16)
\r
40 /********************************************************************/
\r
42 #endif /* __MCF523X_SRAM_H__ */
\r