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
5fcdb16b
Commit
5fcdb16b
authored
May 19, 2010
by
Ben Dooks
Browse files
Options
Browse Files
Download
Plain Diff
ARM: Merge for-2635/rx1950
Merge branch 'for-2635/rx1950' into for-linus/samsung2
parents
5a5c419f
192ff91f
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
621 additions
and
7 deletions
+621
-7
arch/arm/Makefile
arch/arm/Makefile
+2
-0
arch/arm/mach-s3c2410/Makefile.boot
arch/arm/mach-s3c2410/Makefile.boot
+7
-3
arch/arm/mach-s3c2410/pm.c
arch/arm/mach-s3c2410/pm.c
+13
-2
arch/arm/mach-s3c2440/Kconfig
arch/arm/mach-s3c2440/Kconfig
+13
-0
arch/arm/mach-s3c2440/Makefile
arch/arm/mach-s3c2440/Makefile
+1
-0
arch/arm/mach-s3c2440/mach-rx1950.c
arch/arm/mach-s3c2440/mach-rx1950.c
+582
-0
arch/arm/mm/mmu.c
arch/arm/mm/mmu.c
+3
-2
No files found.
arch/arm/Makefile
View file @
5fcdb16b
...
@@ -110,6 +110,8 @@ CHECKFLAGS += -D__arm__
...
@@ -110,6 +110,8 @@ CHECKFLAGS += -D__arm__
head-y
:=
arch
/arm/kernel/head
$(MMUEXT)
.o
arch
/arm/kernel/init_task.o
head-y
:=
arch
/arm/kernel/head
$(MMUEXT)
.o
arch
/arm/kernel/init_task.o
textofs-y
:=
0x00008000
textofs-y
:=
0x00008000
textofs-$(CONFIG_ARCH_CLPS711X)
:=
0x00028000
textofs-$(CONFIG_ARCH_CLPS711X)
:=
0x00028000
# We don't want the htc bootloader to corrupt kernel during resume
textofs-$(CONFIG_PM_H1940)
:=
0x00108000
# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
ifeq
($(CONFIG_ARCH_SA1100),y)
ifeq
($(CONFIG_ARCH_SA1100),y)
textofs-$(CONFIG_SA1111)
:=
0x00208000
textofs-$(CONFIG_SA1111)
:=
0x00208000
...
...
arch/arm/mach-s3c2410/Makefile.boot
View file @
5fcdb16b
zreladdr-y
:=
0x30008000
ifeq
($(CONFIG_PM_H1940),y)
params_phys-y
:=
0x30000100
zreladdr-y
:=
0x30108000
params_phys-y
:=
0x30100100
else
zreladdr-y
:=
0x30008000
params_phys-y
:=
0x30000100
endif
arch/arm/mach-s3c2410/pm.c
View file @
5fcdb16b
...
@@ -60,10 +60,10 @@ static void s3c2410_pm_prepare(void)
...
@@ -60,10 +60,10 @@ static void s3c2410_pm_prepare(void)
__raw_writel
(
calc
,
phys_to_virt
(
H1940_SUSPEND_CHECKSUM
));
__raw_writel
(
calc
,
phys_to_virt
(
H1940_SUSPEND_CHECKSUM
));
}
}
/*
the RX3715 uses similar code and the same H1940
and the
/*
RX3715 and RX1950 use similar to H1940 code
and the
* same offsets for resume and checksum pointers */
* same offsets for resume and checksum pointers */
if
(
machine_is_rx3715
())
{
if
(
machine_is_rx3715
()
||
machine_is_rx1950
()
)
{
void
*
base
=
phys_to_virt
(
H1940_SUSPEND_CHECK
);
void
*
base
=
phys_to_virt
(
H1940_SUSPEND_CHECK
);
unsigned
long
ptr
;
unsigned
long
ptr
;
unsigned
long
calc
=
0
;
unsigned
long
calc
=
0
;
...
@@ -79,6 +79,17 @@ static void s3c2410_pm_prepare(void)
...
@@ -79,6 +79,17 @@ static void s3c2410_pm_prepare(void)
if
(
machine_is_aml_m5900
()
)
if
(
machine_is_aml_m5900
()
)
s3c2410_gpio_setpin
(
S3C2410_GPF
(
2
),
1
);
s3c2410_gpio_setpin
(
S3C2410_GPF
(
2
),
1
);
if
(
machine_is_rx1950
())
{
/* According to S3C2442 user's manual, page 7-17,
* when the system is operating in NAND boot mode,
* the hardware pin configuration - EINT[23:21] –
* must be set as input for starting up after
* wakeup from sleep mode
*/
s3c_gpio_cfgpin
(
S3C2410_GPG
(
13
),
S3C2410_GPIO_INPUT
);
s3c_gpio_cfgpin
(
S3C2410_GPG
(
14
),
S3C2410_GPIO_INPUT
);
s3c_gpio_cfgpin
(
S3C2410_GPG
(
15
),
S3C2410_GPIO_INPUT
);
}
}
}
static
int
s3c2410_pm_resume
(
struct
sys_device
*
dev
)
static
int
s3c2410_pm_resume
(
struct
sys_device
*
dev
)
...
...
arch/arm/mach-s3c2440/Kconfig
View file @
5fcdb16b
...
@@ -187,4 +187,17 @@ config MACH_MINI2440
...
@@ -187,4 +187,17 @@ config MACH_MINI2440
Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
available via various sources. It can come with a 3.5" or 7" touch LCD.
available via various sources. It can come with a 3.5" or 7" touch LCD.
config MACH_RX1950
bool "HP iPAQ rx1950"
select CPU_S3C2442
select S3C24XX_DCLK
select PM_H1940 if PM
select I2C
select S3C2410_PWM
select S3C_DEV_NAND
select S3C2410_IOTIMING if S3C2440_CPUFREQ
select S3C2440_XTAL_16934400
help
Say Y here if you're using HP iPAQ rx1950
endmenu
endmenu
arch/arm/mach-s3c2440/Makefile
View file @
5fcdb16b
...
@@ -34,6 +34,7 @@ obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o
...
@@ -34,6 +34,7 @@ obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o
obj-$(CONFIG_MACH_AT2440EVB)
+=
mach-at2440evb.o
obj-$(CONFIG_MACH_AT2440EVB)
+=
mach-at2440evb.o
obj-$(CONFIG_MACH_MINI2440)
+=
mach-mini2440.o
obj-$(CONFIG_MACH_MINI2440)
+=
mach-mini2440.o
obj-$(CONFIG_MACH_NEO1973_GTA02)
+=
mach-gta02.o
obj-$(CONFIG_MACH_NEO1973_GTA02)
+=
mach-gta02.o
obj-$(CONFIG_MACH_RX1950)
+=
mach-rx1950.o
# extra machine support
# extra machine support
...
...
arch/arm/mach-s3c2440/mach-rx1950.c
0 → 100644
View file @
5fcdb16b
This diff is collapsed.
Click to expand it.
arch/arm/mm/mmu.c
View file @
5fcdb16b
...
@@ -869,9 +869,10 @@ void __init reserve_node_zero(pg_data_t *pgdat)
...
@@ -869,9 +869,10 @@ void __init reserve_node_zero(pg_data_t *pgdat)
if
(
machine_is_p720t
())
if
(
machine_is_p720t
())
res_size
=
0x00014000
;
res_size
=
0x00014000
;
/* H1940
and RX3715
need to reserve this for suspend */
/* H1940
, RX3715 and RX1950
need to reserve this for suspend */
if
(
machine_is_h1940
()
||
machine_is_rx3715
())
{
if
(
machine_is_h1940
()
||
machine_is_rx3715
()
||
machine_is_rx1950
())
{
reserve_bootmem_node
(
pgdat
,
0x30003000
,
0x1000
,
reserve_bootmem_node
(
pgdat
,
0x30003000
,
0x1000
,
BOOTMEM_DEFAULT
);
BOOTMEM_DEFAULT
);
reserve_bootmem_node
(
pgdat
,
0x30081000
,
0x1000
,
reserve_bootmem_node
(
pgdat
,
0x30081000
,
0x1000
,
...
...
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