-
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.
- Loading branch information
Shawn Guo
authored and
Sascha Hauer
committed
Jan 12, 2011
1 parent
5b8302b
commit ee15625
Showing
12 changed files
with
89 additions
and
69 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: 48f76ed1cc034c682666c43815fd0ef27c2a7215 | ||
refs/heads/master: dbc4245bb520580fc1b01105727fde7d7cbe452d |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
config MXS_HAVE_PLATFORM_DUART | ||
config MXS_HAVE_AMBA_DUART | ||
bool | ||
select ARM_AMBA | ||
|
||
config MXS_HAVE_PLATFORM_FEC | ||
bool |
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 @@ | ||
obj-$(CONFIG_MXS_HAVE_PLATFORM_DUART) += platform-duart.o | ||
obj-$(CONFIG_MXS_HAVE_AMBA_DUART) += amba-duart.o | ||
obj-$(CONFIG_MXS_HAVE_PLATFORM_FEC) += platform-fec.o |
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,40 @@ | ||
/* | ||
* Copyright (C) 2009-2010 Pengutronix | ||
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> | ||
* | ||
* Copyright 2010 Freescale Semiconductor, Inc. All Rights Reserved. | ||
* | ||
* 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. | ||
*/ | ||
#include <asm/irq.h> | ||
#include <mach/mx23.h> | ||
#include <mach/mx28.h> | ||
#include <mach/devices-common.h> | ||
|
||
#define MXS_AMBA_DUART_DEVICE(name, soc) \ | ||
const struct amba_device name##_device __initconst = { \ | ||
.dev = { \ | ||
.init_name = "duart", \ | ||
}, \ | ||
.res = { \ | ||
.start = soc ## _DUART_BASE_ADDR, \ | ||
.end = (soc ## _DUART_BASE_ADDR) + SZ_8K - 1, \ | ||
.flags = IORESOURCE_MEM, \ | ||
}, \ | ||
.irq = {soc ## _INT_DUART, NO_IRQ}, \ | ||
} | ||
|
||
#ifdef CONFIG_SOC_IMX23 | ||
MXS_AMBA_DUART_DEVICE(mx23_duart, MX23); | ||
#endif | ||
|
||
#ifdef CONFIG_SOC_IMX28 | ||
MXS_AMBA_DUART_DEVICE(mx28_duart, MX28); | ||
#endif | ||
|
||
int __init mxs_add_duart(const struct amba_device *dev) | ||
{ | ||
return mxs_add_amba_device(dev); | ||
} |
This file was deleted.
Oops, something went wrong.
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