]>
Commit | Line | Data |
---|---|---|
f046ccd1 EL |
1 | /* |
2 | * MPC8349 Internal Memory Map | |
3 | * Copyright (c) 2004 Freescale Semiconductor. | |
4 | * Eran Liberty ([email protected]) | |
de1d0a69 | 5 | * |
f046ccd1 EL |
6 | * based on: |
7 | * - MPC8260 Internal Memory Map | |
8 | * Copyright (c) 1999 Dan Malek ([email protected]) | |
9 | * - MPC85xx Internal Memory Map | |
10 | * Copyright(c) 2002,2003 Motorola Inc. | |
11 | * Xianghua Xiao ([email protected]) | |
12 | */ | |
13 | #ifndef __IMMAP_8349__ | |
14 | #define __IMMAP_8349__ | |
15 | ||
16 | #include <asm/types.h> | |
17 | #include <asm/i2c.h> | |
18 | ||
de1d0a69 | 19 | /* |
f046ccd1 EL |
20 | * Local Access Window. |
21 | */ | |
22 | typedef struct law8349 { | |
23 | u32 bar; /* LBIU local access window base address register */ | |
de1d0a69 JL |
24 | /* Identifies the 20 most-significant address bits of the base of local |
25 | * access window n. The specified base address should be aligned to the | |
26 | * window size, as defined by LBLAWARn[SIZE]. | |
27 | */ | |
28 | #define LAWBAR_BAR 0xFFFFF000 | |
f046ccd1 EL |
29 | #define LAWBAR_RES ~(LAWBAR_BAR) |
30 | u32 ar; /* LBIU local access window attribute register */ | |
31 | /* | |
32 | * This Macro were moved into mmu.h | |
33 | */ | |
de1d0a69 JL |
34 | #if 0 |
35 | /* 0 The local bus local access window n is disabled. 1 The local bus | |
36 | * local access window n is enabled and other LBLAWAR0 and LBLAWBAR0 fields | |
37 | * combine to identify an address range for this window. | |
38 | */ | |
39 | #define LAWAR_EN 0x80000000 | |
40 | /* Identifies the size of the window from the starting address. Window | |
41 |