-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: OMAP: Split plat/serial.h for omap1 and omap2+
For omap1, we'll keep mach/serial.h around for 8250.c hardware workarounds. For omap2+, we no longer need mach/serial.h and can make it local to mach-omap2. Signed-off-by: Tony Lindgren <tony@atomide.com>
- Loading branch information
Tony Lindgren
committed
Oct 24, 2012
1 parent
ede8df1
commit 3d82cbb
Showing
17 changed files
with
64 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* Copyright (C) 2009 Texas Instruments | ||
* Added OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com> | ||
* | ||
* 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. | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_SERIAL_H | ||
#define __ASM_ARCH_SERIAL_H | ||
|
||
#include <linux/init.h> | ||
|
||
/* | ||
* Memory entry used for the DEBUG_LL UART configuration, relative to | ||
* start of RAM. See also uncompress.h and debug-macro.S. | ||
* | ||
* Note that using a memory location for storing the UART configuration | ||
* has at least two limitations: | ||
* | ||
* 1. Kernel uncompress code cannot overlap OMAP_UART_INFO as the | ||
* uncompress code could then partially overwrite itself | ||
* 2. We assume printascii is called at least once before paging_init, | ||
* and addruart has a chance to read OMAP_UART_INFO | ||
*/ | ||
#define OMAP_UART_INFO_OFS 0x3ffc | ||
|
||
/* OMAP1 serial ports */ | ||
#define OMAP1_UART1_BASE 0xfffb0000 | ||
#define OMAP1_UART2_BASE 0xfffb0800 | ||
#define OMAP1_UART3_BASE 0xfffb9800 | ||
|
||
#define OMAP_PORT_SHIFT 2 | ||
#define OMAP7XX_PORT_SHIFT 0 | ||
|
||
#define OMAP1510_BASE_BAUD (12000000/16) | ||
#define OMAP16XX_BASE_BAUD (48000000/16) | ||
|
||
/* | ||
* DEBUG_LL port encoding stored into the UART1 scratchpad register by | ||
* decomp_setup in uncompress.h | ||
*/ | ||
#define OMAP1UART1 11 | ||
#define OMAP1UART2 12 | ||
#define OMAP1UART3 13 | ||
|
||
#ifndef __ASSEMBLER__ | ||
extern void omap_serial_init(void); | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters