mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-20 03:38:43 +00:00
012522fef3
Consolidate ATA, ePORT, QSPI, FlexCan, PWM, RNG, MDHA, SKHA, INTC, and FlexBus structures and definitions in immap_5xxx.h to more unify modules header files. Append DSPI support for m547x_8x. SSI cleanup. Remove USB Host structure from immap_539.h. Apply changes to use FlexBus structures in mcf52x2's cpu_init.c and platform configuration files. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
52 lines
1.8 KiB
C
52 lines
1.8 KiB
C
/*
|
|
* MCF5253 Internal Memory Map
|
|
*
|
|
* Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
|
|
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
|
*
|
|
* See file CREDITS for list of people who contributed to this
|
|
* project.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of
|
|
* the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef __IMMAP_5253__
|
|
#define __IMMAP_5253__
|
|
|
|
#define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000040)
|
|
#define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000080)
|
|
#define MMAP_DTMR0 (CONFIG_SYS_MBAR + 0x00000140)
|
|
#define MMAP_DTMR1 (CONFIG_SYS_MBAR + 0x00000180)
|
|
#define MMAP_UART0 (CONFIG_SYS_MBAR + 0x000001C0)
|
|
#define MMAP_UART1 (CONFIG_SYS_MBAR + 0x00000200)
|
|
#define MMAP_I2C0 (CONFIG_SYS_MBAR + 0x00000280)
|
|
#define MMAP_QSPI (CONFIG_SYS_MBAR + 0x00000400)
|
|
#define MMAP_CAN0 (CONFIG_SYS_MBAR + 0x00010000)
|
|
#define MMAP_CAN1 (CONFIG_SYS_MBAR + 0x00011000)
|
|
|
|
#define MMAP_I2C1 (CONFIG_SYS_MBAR2 + 0x00000440)
|
|
#define MMAP_UART2 (CONFIG_SYS_MBAR2 + 0x00000C00)
|
|
|
|
#include <asm/coldfire/ata.h>
|
|
#include <asm/coldfire/flexbus.h>
|
|
#include <asm/coldfire/flexcan.h>
|
|
#include <asm/coldfire/qspi.h>
|
|
|
|
typedef struct canex_ctrl {
|
|
can_msg_t msg[32]; /* 0x80 Message Buffer 0-31 */
|
|
} canex_t;
|
|
|
|
#endif /* __IMMAP_5253__ */
|