Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ab3bd08a
Commit
ab3bd08a
authored
Oct 30, 2008
by
Russell King
Committed by
Russell King
Oct 30, 2008
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-rmk-rc' of
git://pasiphae.extern.pengutronix.de/git/imx/linux-2.6
parents
9c656850
2eca047b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
7 deletions
+29
-7
arch/arm/mach-mx3/mx31ads.c
arch/arm/mach-mx3/mx31ads.c
+2
-0
arch/arm/mach-mx3/pcm037.c
arch/arm/mach-mx3/pcm037.c
+2
-2
arch/arm/plat-mxc/gpio.c
arch/arm/plat-mxc/gpio.c
+1
-1
arch/arm/plat-mxc/include/mach/io.h
arch/arm/plat-mxc/include/mach/io.h
+20
-0
drivers/serial/Kconfig
drivers/serial/Kconfig
+2
-2
drivers/serial/netx-serial.c
drivers/serial/netx-serial.c
+2
-2
No files found.
arch/arm/mach-mx3/mx31ads.c
View file @
ab3bd08a
...
...
@@ -35,6 +35,8 @@
#include <mach/imx-uart.h>
#include <mach/iomux-mx3.h>
#include "devices.h"
/*!
* @file mx31ads.c
*
...
...
arch/arm/mach-mx3/pcm037.c
View file @
ab3bd08a
...
...
@@ -91,12 +91,12 @@ static struct map_desc pcm037_io_desc[] __initdata = {
.
virtual
=
AIPS1_BASE_ADDR_VIRT
,
.
pfn
=
__phys_to_pfn
(
AIPS1_BASE_ADDR
),
.
length
=
AIPS1_SIZE
,
.
type
=
MT_DEVICE
.
type
=
MT_DEVICE
_NONSHARED
},
{
.
virtual
=
AIPS2_BASE_ADDR_VIRT
,
.
pfn
=
__phys_to_pfn
(
AIPS2_BASE_ADDR
),
.
length
=
AIPS2_SIZE
,
.
type
=
MT_DEVICE
.
type
=
MT_DEVICE
_NONSHARED
},
};
...
...
arch/arm/plat-mxc/gpio.c
View file @
ab3bd08a
...
...
@@ -188,7 +188,7 @@ static int mxc_gpio_get(struct gpio_chip *chip, unsigned offset)
struct
mxc_gpio_port
*
port
=
container_of
(
chip
,
struct
mxc_gpio_port
,
chip
);
return
(
__raw_readl
(
port
->
base
+
GPIO_
D
R
)
>>
offset
)
&
1
;
return
(
__raw_readl
(
port
->
base
+
GPIO_
PS
R
)
>>
offset
)
&
1
;
}
static
int
mxc_gpio_direction_input
(
struct
gpio_chip
*
chip
,
unsigned
offset
)
...
...
arch/arm/plat-mxc/include/mach/io.h
View file @
ab3bd08a
...
...
@@ -14,6 +14,26 @@
/* Allow IO space to be anywhere in the memory */
#define IO_SPACE_LIMIT 0xffffffff
#ifdef CONFIG_ARCH_MX3
#define __arch_ioremap __mx3_ioremap
#define __arch_iounmap __iounmap
static
inline
void
__iomem
*
__mx3_ioremap
(
unsigned
long
phys_addr
,
size_t
size
,
unsigned
int
mtype
)
{
if
(
mtype
==
MT_DEVICE
)
{
/* Access all peripherals below 0x80000000 as nonshared device
* but leave l2cc alone.
*/
if
((
phys_addr
<
0x80000000
)
&&
((
phys_addr
<
L2CC_BASE_ADDR
)
||
(
phys_addr
>=
L2CC_BASE_ADDR
+
L2CC_SIZE
)))
mtype
=
MT_DEVICE_NONSHARED
;
}
return
__arm_ioremap
(
phys_addr
,
size
,
mtype
);
}
#endif
/* io address mapping macro */
#define __io(a) ((void __iomem *)(a))
...
...
drivers/serial/Kconfig
View file @
ab3bd08a
...
...
@@ -1276,7 +1276,7 @@ config SERIAL_SGI_IOC3
say Y or M. Otherwise, say N.
config SERIAL_NETX
bool
"NetX serial port support"
tristate
"NetX serial port support"
depends on ARM && ARCH_NETX
select SERIAL_CORE
help
...
...
@@ -1288,7 +1288,7 @@ config SERIAL_NETX
config SERIAL_NETX_CONSOLE
bool "Console on NetX serial port"
depends on SERIAL_NETX
depends on SERIAL_NETX
=y
select SERIAL_CORE_CONSOLE
help
If you have enabled the serial port on the Hilscher NetX SoC
...
...
drivers/serial/netx-serial.c
View file @
ab3bd08a
...
...
@@ -42,8 +42,6 @@
#define SERIAL_NX_MAJOR 204
#define MINOR_START 170
#ifdef CONFIG_SERIAL_NETX_CONSOLE
enum
uart_regs
{
UART_DR
=
0x00
,
UART_SR
=
0x04
,
...
...
@@ -528,6 +526,8 @@ static struct netx_port netx_ports[] = {
}
};
#ifdef CONFIG_SERIAL_NETX_CONSOLE
static
void
netx_console_putchar
(
struct
uart_port
*
port
,
int
ch
)
{
while
(
readl
(
port
->
membase
+
UART_FR
)
&
FR_BUSY
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment