-
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.
yaml --- r: 372707 b: refs/heads/master c: 0a43cd3 h: refs/heads/master i: 372705: 362d021 372703: 586ef84 v: v3
- Loading branch information
Haojian Zhuang
committed
Apr 11, 2013
1 parent
b079cf6
commit 1f1b0d5
Showing
5 changed files
with
43 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 8cdde3386628266347334579a44b1c9dad9b9d1d | ||
refs/heads/master: 0a43cd3b1cc1b7e1dfc461cf55b414610d038769 |
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,33 @@ | ||
/* | ||
* Early serial output macro for Marvell PXA/MMP SoC | ||
* | ||
* Copyright (C) 1994-1999 Russell King | ||
* Moved from linux/arch/arm/kernel/debug.S by Ben Dooks | ||
* | ||
* Copyright (C) 2013 Haojian Zhuang | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#if defined(CONFIG_DEBUG_PXA_UART1) | ||
#define PXA_UART_REG_PHYS_BASE 0x40100000 | ||
#define PXA_UART_REG_VIRT_BASE 0xf2100000 | ||
#elif defined(CONFIG_DEBUG_MMP_UART2) | ||
#define PXA_UART_REG_PHYS_BASE 0xd4017000 | ||
#define PXA_UART_REG_VIRT_BASE 0xfe017000 | ||
#elif defined(CONFIG_DEBUG_MMP_UART3) | ||
#define PXA_UART_REG_PHYS_BASE 0xd4018000 | ||
#define PXA_UART_REG_VIRT_BASE 0xfe018000 | ||
#else | ||
#error "Select uart for DEBUG_LL" | ||
#endif | ||
|
||
.macro addruart, rp, rv, tmp | ||
ldr \rp, =PXA_UART_REG_PHYS_BASE | ||
ldr \rv, =PXA_UART_REG_VIRT_BASE | ||
.endm | ||
|
||
#define UART_SHIFT 2 | ||
#include <asm/hardware/debug-8250.S> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.