mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 10:28:51 +09:00
![Tom Rini](/assets/img/avatar_default.png)
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* MCF5253 Internal Memory Map
|
|
*
|
|
* Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
|
|
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
|
*/
|
|
|
|
#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_PAR (CONFIG_SYS_MBAR2 + 0x0000019C)
|
|
#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__ */
|