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
9e04099c
Commit
9e04099c
authored
Oct 14, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-arm
parents
757e0108
41489493
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
93 additions
and
33 deletions
+93
-33
arch/arm/kernel/vmlinux.lds.S
arch/arm/kernel/vmlinux.lds.S
+8
-7
arch/arm/mach-l7200/core.c
arch/arm/mach-l7200/core.c
+15
-5
arch/arm/mach-pxa/corgi_lcd.c
arch/arm/mach-pxa/corgi_lcd.c
+19
-1
arch/arm/mach-pxa/generic.c
arch/arm/mach-pxa/generic.c
+5
-0
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/spitz.c
+1
-3
arch/arm/mach-s3c2410/Kconfig
arch/arm/mach-s3c2410/Kconfig
+1
-0
drivers/input/keyboard/spitzkbd.c
drivers/input/keyboard/spitzkbd.c
+1
-1
include/asm-arm/arch-pxa/pxafb.h
include/asm-arm/arch-pxa/pxafb.h
+1
-0
include/asm-arm/arch-s3c2410/io.h
include/asm-arm/arch-s3c2410/io.h
+42
-16
No files found.
arch/arm/kernel/vmlinux.lds.S
View file @
9e04099c
...
...
@@ -89,13 +89,6 @@ SECTIONS
*(.
got
)
/*
Global
offset
table
*/
}
.
=
ALIGN
(
16
)
;
__ex_table
:
{
/*
Exception
table
*/
__start___ex_table
=
.
;
*(
__ex_table
)
__stop___ex_table
=
.
;
}
RODATA
_etext
=
.
; /* End of text and rodata section */
...
...
@@ -137,6 +130,14 @@ SECTIONS
.
=
ALIGN
(
32
)
;
*(.
data.
cacheline_aligned
)
/
*
*
The
exception
fixup
table
(
might
need
resorting
at
runtime
)
*/
.
=
ALIGN
(
32
)
;
__start___ex_table
=
.
;
*(
__ex_table
)
__stop___ex_table
=
.
;
/
*
*
and
the
usual
data
section
*/
...
...
arch/arm/mach-l7200/core.c
View file @
9e04099c
...
...
@@ -7,11 +7,17 @@
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/device.h>
#include <asm/types.h>
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <asm/hardware.h>
#include <asm/page.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
/*
* IRQ base register
...
...
@@ -47,6 +53,12 @@ static void l7200_unmask_irq(unsigned int irq)
{
IRQ_ENABLE
=
1
<<
irq
;
}
static
struct
irqchip
l7200_irq_chip
=
{
.
ack
=
l7200_mask_irq
,
.
mask
=
l7200_mask_irq
,
.
unmask
=
l7200_unmask_irq
};
static
void
__init
l7200_init_irq
(
void
)
{
...
...
@@ -56,11 +68,9 @@ static void __init l7200_init_irq(void)
FIQ_ENABLECLEAR
=
0xffffffff
;
/* clear all fast interrupt enables */
for
(
irq
=
0
;
irq
<
NR_IRQS
;
irq
++
)
{
irq_desc
[
irq
].
valid
=
1
;
irq_desc
[
irq
].
probe_ok
=
1
;
irq_desc
[
irq
].
mask_ack
=
l7200_mask_irq
;
irq_desc
[
irq
].
mask
=
l7200_mask_irq
;
irq_desc
[
irq
].
unmask
=
l7200_unmask_irq
;
set_irq_chip
(
irq
,
&
l7200_irq_chip
);
set_irq_flags
(
irq
,
IRQF_VALID
);
set_irq_handler
(
irq
,
do_level_IRQ
);
}
init_FIQ
();
...
...
arch/arm/mach-pxa/corgi_lcd.c
View file @
9e04099c
...
...
@@ -467,6 +467,7 @@ void corgi_put_hsync(void)
{
if
(
get_hsync_time
)
symbol_put
(
w100fb_get_hsynclen
);
get_hsync_time
=
NULL
;
}
void
corgi_wait_hsync
(
void
)
...
...
@@ -476,20 +477,37 @@ void corgi_wait_hsync(void)
#endif
#ifdef CONFIG_PXA_SHARP_Cxx00
static
struct
device
*
spitz_pxafb_dev
;
static
int
is_pxafb_device
(
struct
device
*
dev
,
void
*
data
)
{
struct
platform_device
*
pdev
=
container_of
(
dev
,
struct
platform_device
,
dev
);
return
(
strncmp
(
pdev
->
name
,
"pxa2xx-fb"
,
9
)
==
0
);
}
unsigned
long
spitz_get_hsync_len
(
void
)
{
if
(
!
spitz_pxafb_dev
)
{
spitz_pxafb_dev
=
bus_find_device
(
&
platform_bus_type
,
NULL
,
NULL
,
is_pxafb_device
);
if
(
!
spitz_pxafb_dev
)
return
0
;
}
if
(
!
get_hsync_time
)
get_hsync_time
=
symbol_get
(
pxafb_get_hsync_time
);
if
(
!
get_hsync_time
)
return
0
;
return
pxafb_get_hsync_time
(
&
pxafb_device
.
dev
);
return
pxafb_get_hsync_time
(
spitz_pxafb_
dev
);
}
void
spitz_put_hsync
(
void
)
{
put_device
(
spitz_pxafb_dev
);
if
(
get_hsync_time
)
symbol_put
(
pxafb_get_hsync_time
);
spitz_pxafb_dev
=
NULL
;
get_hsync_time
=
NULL
;
}
void
spitz_wait_hsync
(
void
)
...
...
arch/arm/mach-pxa/generic.c
View file @
9e04099c
...
...
@@ -208,6 +208,11 @@ static struct platform_device pxafb_device = {
.
resource
=
pxafb_resources
,
};
void
__init
set_pxa_fb_parent
(
struct
device
*
parent_dev
)
{
pxafb_device
.
dev
.
parent
=
parent_dev
;
}
static
struct
platform_device
ffuart_device
=
{
.
name
=
"pxa2xx-uart"
,
.
id
=
0
,
...
...
arch/arm/mach-pxa/spitz.c
View file @
9e04099c
...
...
@@ -36,7 +36,6 @@
#include <asm/arch/irq.h>
#include <asm/arch/mmc.h>
#include <asm/arch/udc.h>
#include <asm/arch/ohci.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/akita.h>
#include <asm/arch/spitz.h>
...
...
@@ -304,7 +303,6 @@ static struct platform_device *devices[] __initdata = {
&
spitzkbd_device
,
&
spitzts_device
,
&
spitzbl_device
,
&
spitzbattery_device
,
};
static
void
__init
common_init
(
void
)
...
...
@@ -328,7 +326,7 @@ static void __init common_init(void)
platform_add_devices
(
devices
,
ARRAY_SIZE
(
devices
));
pxa_set_mci_info
(
&
spitz_mci_platform_data
);
pxafb_device
.
dev
.
parent
=
&
spitzssp_device
.
dev
;
set_pxa_fb_parent
(
&
spitzssp_device
.
dev
)
;
set_pxa_fb_info
(
&
spitz_pxafb_info
);
}
...
...
arch/arm/mach-s3c2410/Kconfig
View file @
9e04099c
...
...
@@ -12,6 +12,7 @@ config MACH_ANUBIS
config ARCH_BAST
bool "Simtec Electronics BAST (EB2410ITX)"
select CPU_S3C2410
select ISA
help
Say Y here if you are using the Simtec Electronics EB2410ITX
development board (also known as BAST)
...
...
drivers/input/keyboard/spitzkbd.c
View file @
9e04099c
...
...
@@ -53,7 +53,7 @@ static unsigned char spitzkbd_keycode[NR_SCANCODES] = {
KEY_LEFTCTRL
,
KEY_1
,
KEY_3
,
KEY_5
,
KEY_6
,
KEY_7
,
KEY_9
,
KEY_0
,
KEY_BACKSPACE
,
SPITZ_KEY_EXOK
,
SPITZ_KEY_EXCANCEL
,
0
,
0
,
0
,
0
,
0
,
/* 1-16 */
0
,
KEY_2
,
KEY_4
,
KEY_R
,
KEY_Y
,
KEY_8
,
KEY_I
,
KEY_O
,
KEY_P
,
SPITZ_KEY_EXJOGDOWN
,
SPITZ_KEY_EXJOGUP
,
0
,
0
,
0
,
0
,
0
,
/* 17-32 */
KEY_TAB
,
KEY_Q
,
KEY_E
,
KEY_T
,
KEY_G
,
KEY_U
,
KEY_J
,
KEY_K
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 33-48 */
SPITZ_KEY_CALENDER
,
KEY_W
,
KEY_S
,
KEY_F
,
KEY_V
,
KEY_H
,
KEY_M
,
KEY_L
,
0
,
0
,
KEY_RIGHTSHIFT
,
0
,
0
,
0
,
0
,
0
,
/* 49-64 */
SPITZ_KEY_CALENDER
,
KEY_W
,
KEY_S
,
KEY_F
,
KEY_V
,
KEY_H
,
KEY_M
,
KEY_L
,
0
,
KEY_RIGHTSHIFT
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 49-64 */
SPITZ_KEY_ADDRESS
,
KEY_A
,
KEY_D
,
KEY_C
,
KEY_B
,
KEY_N
,
KEY_DOT
,
0
,
KEY_ENTER
,
KEY_LEFTSHIFT
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 65-80 */
SPITZ_KEY_MAIL
,
KEY_Z
,
KEY_X
,
KEY_MINUS
,
KEY_SPACE
,
KEY_COMMA
,
0
,
KEY_UP
,
0
,
0
,
SPITZ_KEY_FN
,
0
,
0
,
0
,
0
,
0
,
/* 81-96 */
KEY_SYSRQ
,
SPITZ_KEY_JAP1
,
SPITZ_KEY_JAP2
,
SPITZ_KEY_CANCEL
,
SPITZ_KEY_OK
,
SPITZ_KEY_MENU
,
KEY_LEFT
,
KEY_DOWN
,
KEY_RIGHT
,
0
,
0
,
0
,
0
,
0
,
0
,
0
/* 97-112 */
...
...
include/asm-arm/arch-pxa/pxafb.h
View file @
9e04099c
...
...
@@ -66,4 +66,5 @@ struct pxafb_mach_info {
};
void
set_pxa_fb_info
(
struct
pxafb_mach_info
*
hard_pxa_fb_info
);
void
set_pxa_fb_parent
(
struct
device
*
parent_dev
);
unsigned
long
pxafb_get_hsync_time
(
struct
device
*
dev
);
include/asm-arm/arch-s3c2410/io.h
View file @
9e04099c
...
...
@@ -9,7 +9,7 @@
* 06-Dec-1997 RMK Created.
* 02-Sep-2003 BJD Modified for S3C2410
* 10-Mar-2005 LCVR Changed S3C2410_VA to S3C24XX_VA
*
*
13-Oct-2005 BJD Fixed problems with LDRH/STRH offset range
*/
#ifndef __ASM_ARM_ARCH_IO_H
...
...
@@ -97,7 +97,7 @@ DECLARE_IO(int,l,"")
else \
__asm__ __volatile__( \
"strb %0, [%1, #0] @ outbc" \
: : "r" (value), "r" ((port))); \
: : "r" (value), "r" ((port)));
\
})
#define __inbc(port) \
...
...
@@ -110,35 +110,61 @@ DECLARE_IO(int,l,"")
else \
__asm__ __volatile__( \
"ldrb %0, [%1, #0] @ inbc" \
: "=r" (result) : "r" ((port))); \
: "=r" (result) : "r" ((port)));
\
result; \
})
#define __outwc(value,port) \
({ \
unsigned long v = value; \
if (__PORT_PCIO((port))) \
__asm__ __volatile__( \
"strh %0, [%1, %2] @ outwc" \
: : "r" (v), "r" (PCIO_BASE), "Jr" ((port))); \
else \
if (__PORT_PCIO((port))) { \
if ((port) < 256 && (port) > -256) \
__asm__ __volatile__( \
"strh %0, [%1, %2] @ outwc" \
: : "r" (v), "r" (PCIO_BASE), "Jr" ((port))); \
else if ((port) > 0) \
__asm__ __volatile__( \
"strh %0, [%1, %2] @ outwc" \
: : "r" (v), \
"r" (PCIO_BASE + ((port) & ~0xff)), \
"Jr" (((port) & 0xff))); \
else \
__asm__ __volatile__( \
"strh %0, [%1, #0] @ outwc" \
: : "r" (v), \
"r" (PCIO_BASE + (port))); \
} else \
__asm__ __volatile__( \
"strh %0, [%1, #0] @ outwc" \
: : "r" (v), "r" ((port))); \
: : "r" (v), "r" ((port)));
\
})
#define __inwc(port) \
({ \
unsigned short result; \
if (__PORT_PCIO((port))) \
__asm__ __volatile__( \
"ldrh %0, [%1, %2] @ inwc" \
: "=r" (result) : "r" (PCIO_BASE), "Jr" ((port))); \
else \
if (__PORT_PCIO((port))) { \
if ((port) < 256 && (port) > -256 ) \
__asm__ __volatile__( \
"ldrh %0, [%1, %2] @ inwc" \
: "=r" (result) \
: "r" (PCIO_BASE), \
"Jr" ((port))); \
else if ((port) > 0) \
__asm__ __volatile__( \
"ldrh %0, [%1, %2] @ inwc" \
: "=r" (result) \
: "r" (PCIO_BASE + ((port) & ~0xff)), \
"Jr" (((port) & 0xff))); \
else \
__asm__ __volatile__( \
"ldrh %0, [%1, #0] @ inwc" \
: "=r" (result) \
: "r" (PCIO_BASE + ((port)))); \
} else \
__asm__ __volatile__( \
"ldrh %0, [%1, #0] @ inwc" \
: "=r" (result) : "r" ((port))); \
result; \
: "=r" (result) : "r" ((port)));
\
result;
\
})
#define __outlc(value,port) \
...
...
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