diff options
author | Matthew Fettke <[matthew.fettke@gmail.com]> | 2008-02-04 15:38:20 -0600 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2008-03-31 15:09:08 -0600 |
commit | f71d9d91a2cd9c30b2b6369f15c1a46c11537c2b (patch) | |
tree | ce257bd89e793dd65e3ab2dddb37bf27e24fa191 /include/asm-m68k/immap.h | |
parent | 44e5b9edab077aba6e9b849afa4b7fbd8fd7b02b (diff) | |
download | u-boot-imx-f71d9d91a2cd9c30b2b6369f15c1a46c11537c2b.zip u-boot-imx-f71d9d91a2cd9c30b2b6369f15c1a46c11537c2b.tar.gz u-boot-imx-f71d9d91a2cd9c30b2b6369f15c1a46c11537c2b.tar.bz2 |
ColdFire: Added MCF5275 cpu support.
Signed-off-by: Matthew Fettke <mfettke@videon-central.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'include/asm-m68k/immap.h')
-rw-r--r-- | include/asm-m68k/immap.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/asm-m68k/immap.h b/include/asm-m68k/immap.h index 916bf96..f1586d5 100644 --- a/include/asm-m68k/immap.h +++ b/include/asm-m68k/immap.h @@ -180,6 +180,30 @@ #endif #endif /* CONFIG_M5272 */ +#ifdef CONFIG_M5275 +#include <asm/immap_5275.h> +#include <asm/m5275.h> + +#define CFG_FEC0_IOBASE (MMAP_FEC0) +#define CFG_FEC1_IOBASE (MMAP_FEC1) +#define CFG_UART_BASE (MMAP_UART0 + (CFG_UART_PORT * 0x40)) + +#define CFG_INTR_BASE (MMAP_INTC0) +#define CFG_NUM_IRQS (192) + +/* Timer */ +#ifdef CONFIG_MCFTMR +#define CFG_UDELAY_BASE (MMAP_DTMR0) +#define CFG_TMR_BASE (MMAP_DTMR3) +#define CFG_TMRPND_REG (((volatile int0_t *)(CFG_INTR_BASE))->iprl0) +#define CFG_TMRINTR_NO (INT0_LO_DTMR3) +#define CFG_TMRINTR_MASK (INTC_IPRL_INT22) +#define CFG_TMRINTR_PEND (CFG_TMRINTR_MASK) +#define CFG_TMRINTR_PRI (0x1E) +#define CFG_TIMER_PRESCALER (((gd->bus_clk / 1000000) - 1) << 8) +#endif +#endif /* CONFIG_M5275 */ + #ifdef CONFIG_M5282 #include <asm/immap_5282.h> #include <asm/m5282.h> |