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
nexedi
linux
Commits
bc3b67b8
Commit
bc3b67b8
authored
May 19, 2010
by
Ben Dooks
Browse files
Options
Browse Files
Download
Plain Diff
ARM: Merge for-2635/s3c24xx-general
Merge branch 'for-2635/s3c24xx-general' into for-linus/samsung2
parents
b78232da
26be1b7b
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
16 deletions
+22
-16
arch/arm/mach-s3c2410/mach-h1940.c
arch/arm/mach-s3c2410/mach-h1940.c
+5
-4
arch/arm/mach-s3c2412/mach-jive.c
arch/arm/mach-s3c2412/mach-jive.c
+1
-1
arch/arm/mach-s3c2412/mach-smdk2413.c
arch/arm/mach-s3c2412/mach-smdk2413.c
+3
-3
arch/arm/mach-s3c2440/mach-rx3715.c
arch/arm/mach-s3c2440/mach-rx3715.c
+1
-1
arch/arm/mach-s3c2440/mach-smdk2440.c
arch/arm/mach-s3c2440/mach-smdk2440.c
+1
-1
arch/arm/mach-s3c2443/mach-smdk2443.c
arch/arm/mach-s3c2443/mach-smdk2443.c
+1
-1
arch/arm/mach-s3c64xx/mach-smdk6400.c
arch/arm/mach-s3c64xx/mach-smdk6400.c
+1
-1
arch/arm/mach-s3c64xx/mach-smdk6410.c
arch/arm/mach-s3c64xx/mach-smdk6410.c
+1
-1
arch/arm/plat-s3c24xx/devs.c
arch/arm/plat-s3c24xx/devs.c
+8
-3
No files found.
arch/arm/mach-s3c2410/mach-h1940.c
View file @
bc3b67b8
...
@@ -162,8 +162,8 @@ static struct s3c2410fb_display h1940_lcd __initdata = {
...
@@ -162,8 +162,8 @@ static struct s3c2410fb_display h1940_lcd __initdata = {
.
xres
=
240
,
.
xres
=
240
,
.
yres
=
320
,
.
yres
=
320
,
.
bpp
=
16
,
.
bpp
=
16
,
.
left_margin
=
20
,
.
left_margin
=
8
,
.
right_margin
=
8
,
.
right_margin
=
20
,
.
hsync_len
=
4
,
.
hsync_len
=
4
,
.
upper_margin
=
8
,
.
upper_margin
=
8
,
.
lower_margin
=
7
,
.
lower_margin
=
7
,
...
@@ -271,7 +271,6 @@ static struct platform_device h1940_lcd_powerdev = {
...
@@ -271,7 +271,6 @@ static struct platform_device h1940_lcd_powerdev = {
};
};
static
struct
platform_device
*
h1940_devices
[]
__initdata
=
{
static
struct
platform_device
*
h1940_devices
[]
__initdata
=
{
&
s3c_device_ts
,
&
s3c_device_ohci
,
&
s3c_device_ohci
,
&
s3c_device_lcd
,
&
s3c_device_lcd
,
&
s3c_device_wdt
,
&
s3c_device_wdt
,
...
@@ -285,6 +284,8 @@ static struct platform_device *h1940_devices[] __initdata = {
...
@@ -285,6 +284,8 @@ static struct platform_device *h1940_devices[] __initdata = {
&
s3c_device_timer
[
0
],
&
s3c_device_timer
[
0
],
&
h1940_backlight
,
&
h1940_backlight
,
&
h1940_lcd_powerdev
,
&
h1940_lcd_powerdev
,
&
s3c_device_adc
,
&
s3c_device_ts
,
};
};
static
void
__init
h1940_map_io
(
void
)
static
void
__init
h1940_map_io
(
void
)
...
@@ -337,7 +338,7 @@ static void __init h1940_init(void)
...
@@ -337,7 +338,7 @@ static void __init h1940_init(void)
}
}
MACHINE_START
(
H1940
,
"IPAQ-H1940"
)
MACHINE_START
(
H1940
,
"IPAQ-H1940"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C2410_PA_UART
,
.
phys_io
=
S3C2410_PA_UART
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
...
...
arch/arm/mach-s3c2412/mach-jive.c
View file @
bc3b67b8
...
@@ -674,7 +674,7 @@ static void __init jive_machine_init(void)
...
@@ -674,7 +674,7 @@ static void __init jive_machine_init(void)
}
}
MACHINE_START
(
JIVE
,
"JIVE"
)
MACHINE_START
(
JIVE
,
"JIVE"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C2410_PA_UART
,
.
phys_io
=
S3C2410_PA_UART
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
...
...
arch/arm/mach-s3c2412/mach-smdk2413.c
View file @
bc3b67b8
...
@@ -150,7 +150,7 @@ static void __init smdk2413_machine_init(void)
...
@@ -150,7 +150,7 @@ static void __init smdk2413_machine_init(void)
}
}
MACHINE_START
(
S3C2413
,
"S3C2413"
)
MACHINE_START
(
S3C2413
,
"S3C2413"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C2410_PA_UART
,
.
phys_io
=
S3C2410_PA_UART
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
...
@@ -163,7 +163,7 @@ MACHINE_START(S3C2413, "S3C2413")
...
@@ -163,7 +163,7 @@ MACHINE_START(S3C2413, "S3C2413")
MACHINE_END
MACHINE_END
MACHINE_START
(
SMDK2412
,
"SMDK2412"
)
MACHINE_START
(
SMDK2412
,
"SMDK2412"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C2410_PA_UART
,
.
phys_io
=
S3C2410_PA_UART
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
...
@@ -176,7 +176,7 @@ MACHINE_START(SMDK2412, "SMDK2412")
...
@@ -176,7 +176,7 @@ MACHINE_START(SMDK2412, "SMDK2412")
MACHINE_END
MACHINE_END
MACHINE_START
(
SMDK2413
,
"SMDK2413"
)
MACHINE_START
(
SMDK2413
,
"SMDK2413"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C2410_PA_UART
,
.
phys_io
=
S3C2410_PA_UART
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
...
...
arch/arm/mach-s3c2440/mach-rx3715.c
View file @
bc3b67b8
...
@@ -209,7 +209,7 @@ static void __init rx3715_init_machine(void)
...
@@ -209,7 +209,7 @@ static void __init rx3715_init_machine(void)
}
}
MACHINE_START
(
RX3715
,
"IPAQ-RX3715"
)
MACHINE_START
(
RX3715
,
"IPAQ-RX3715"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C2410_PA_UART
,
.
phys_io
=
S3C2410_PA_UART
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
...
...
arch/arm/mach-s3c2440/mach-smdk2440.c
View file @
bc3b67b8
...
@@ -174,7 +174,7 @@ static void __init smdk2440_machine_init(void)
...
@@ -174,7 +174,7 @@ static void __init smdk2440_machine_init(void)
}
}
MACHINE_START
(
S3C2440
,
"SMDK2440"
)
MACHINE_START
(
S3C2440
,
"SMDK2440"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C2410_PA_UART
,
.
phys_io
=
S3C2410_PA_UART
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
...
...
arch/arm/mach-s3c2443/mach-smdk2443.c
View file @
bc3b67b8
...
@@ -131,7 +131,7 @@ static void __init smdk2443_machine_init(void)
...
@@ -131,7 +131,7 @@ static void __init smdk2443_machine_init(void)
}
}
MACHINE_START
(
SMDK2443
,
"SMDK2443"
)
MACHINE_START
(
SMDK2443
,
"SMDK2443"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C2410_PA_UART
,
.
phys_io
=
S3C2410_PA_UART
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C24XX_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
.
boot_params
=
S3C2410_SDRAM_PA
+
0x100
,
...
...
arch/arm/mach-s3c64xx/mach-smdk6400.c
View file @
bc3b67b8
...
@@ -84,7 +84,7 @@ static void __init smdk6400_machine_init(void)
...
@@ -84,7 +84,7 @@ static void __init smdk6400_machine_init(void)
}
}
MACHINE_START
(
SMDK6400
,
"SMDK6400"
)
MACHINE_START
(
SMDK6400
,
"SMDK6400"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C_PA_UART
&
0xfff00000
,
.
phys_io
=
S3C_PA_UART
&
0xfff00000
,
.
io_pg_offst
=
(((
u32
)
S3C_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C64XX_PA_SDRAM
+
0x100
,
.
boot_params
=
S3C64XX_PA_SDRAM
+
0x100
,
...
...
arch/arm/mach-s3c64xx/mach-smdk6410.c
View file @
bc3b67b8
...
@@ -656,7 +656,7 @@ static void __init smdk6410_machine_init(void)
...
@@ -656,7 +656,7 @@ static void __init smdk6410_machine_init(void)
}
}
MACHINE_START
(
SMDK6410
,
"SMDK6410"
)
MACHINE_START
(
SMDK6410
,
"SMDK6410"
)
/* Maintainer: Ben Dooks <ben@fluff.org> */
/* Maintainer: Ben Dooks <ben
-linux
@fluff.org> */
.
phys_io
=
S3C_PA_UART
&
0xfff00000
,
.
phys_io
=
S3C_PA_UART
&
0xfff00000
,
.
io_pg_offst
=
(((
u32
)
S3C_VA_UART
)
>>
18
)
&
0xfffc
,
.
io_pg_offst
=
(((
u32
)
S3C_VA_UART
)
>>
18
)
&
0xfffc
,
.
boot_params
=
S3C64XX_PA_SDRAM
+
0x100
,
.
boot_params
=
S3C64XX_PA_SDRAM
+
0x100
,
...
...
arch/arm/plat-s3c24xx/devs.c
View file @
bc3b67b8
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include <linux/platform_device.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <asm/mach/arch.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/map.h>
...
@@ -149,10 +150,14 @@ void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd)
...
@@ -149,10 +150,14 @@ void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd)
{
{
struct
s3c2410fb_mach_info
*
npd
;
struct
s3c2410fb_mach_info
*
npd
;
npd
=
km
alloc
(
sizeof
(
*
npd
),
GFP_KERNEL
);
npd
=
km
emdup
(
pd
,
sizeof
(
*
npd
),
GFP_KERNEL
);
if
(
npd
)
{
if
(
npd
)
{
memcpy
(
npd
,
pd
,
sizeof
(
*
npd
));
s3c_device_lcd
.
dev
.
platform_data
=
npd
;
s3c_device_lcd
.
dev
.
platform_data
=
npd
;
npd
->
displays
=
kmemdup
(
pd
->
displays
,
sizeof
(
struct
s3c2410fb_display
)
*
npd
->
num_displays
,
GFP_KERNEL
);
if
(
!
npd
->
displays
)
printk
(
KERN_ERR
"no memory for LCD display data
\n
"
);
}
else
{
}
else
{
printk
(
KERN_ERR
"no memory for LCD platform data
\n
"
);
printk
(
KERN_ERR
"no memory for LCD platform data
\n
"
);
}
}
...
@@ -371,7 +376,7 @@ struct platform_device s3c_device_sdi = {
...
@@ -371,7 +376,7 @@ struct platform_device s3c_device_sdi = {
EXPORT_SYMBOL
(
s3c_device_sdi
);
EXPORT_SYMBOL
(
s3c_device_sdi
);
void
s3c24xx_mci_set_platdata
(
struct
s3c24xx_mci_pdata
*
pdata
)
void
__init
s3c24xx_mci_set_platdata
(
struct
s3c24xx_mci_pdata
*
pdata
)
{
{
struct
s3c24xx_mci_pdata
*
npd
;
struct
s3c24xx_mci_pdata
*
npd
;
...
...
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