diff options
Diffstat (limited to 'arch/m68k/include/asm/coldfire.h')
-rw-r--r-- | arch/m68k/include/asm/coldfire.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/arch/m68k/include/asm/coldfire.h b/arch/m68k/include/asm/coldfire.h index f06a0a439129..98d1d25101f2 100644 --- a/arch/m68k/include/asm/coldfire.h +++ b/arch/m68k/include/asm/coldfire.h | |||
@@ -33,14 +33,17 @@ | |||
33 | * the base address. Some have an IPSBAR register instead, and it | 33 | * the base address. Some have an IPSBAR register instead, and it |
34 | * has slightly different rules on its size and alignment. Some | 34 | * has slightly different rules on its size and alignment. Some |
35 | * parts have fixed addresses and the internal peripherals cannot | 35 | * parts have fixed addresses and the internal peripherals cannot |
36 | * be relocated in the address space. | 36 | * be relocated in the CPU address space. |
37 | * | 37 | * |
38 | * This is generally setup by the boards start up code. | 38 | * The value of MBAR or IPSBAR is config time selectable, we no |
39 | * longer hard define it here. No MBAR or IPSBAR will be defined if | ||
40 | * this part has a fixed peripheral address map. | ||
39 | */ | 41 | */ |
40 | #if defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x) | 42 | #ifdef CONFIG_MBAR |
41 | #define MCF_IPSBAR 0x40000000 | 43 | #define MCF_MBAR CONFIG_MBAR |
42 | #else | 44 | #endif |
43 | #define MCF_MBAR 0x10000000 | 45 | #ifdef CONFIG_IPSBAR |
46 | #define MCF_IPSBAR CONFIG_IPSBAR | ||
44 | #endif | 47 | #endif |
45 | 48 | ||
46 | /****************************************************************************/ | 49 | /****************************************************************************/ |