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
5ab808d1
Commit
5ab808d1
authored
Mar 09, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Makefile, sa1110 cpufreq code. Drop static flash mapping from
system3.c
parent
50b1b006
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
108 additions
and
61 deletions
+108
-61
arch/arm/mach-sa1100/Makefile
arch/arm/mach-sa1100/Makefile
+85
-49
arch/arm/mach-sa1100/cpu-sa1110.c
arch/arm/mach-sa1100/cpu-sa1110.c
+20
-8
arch/arm/mach-sa1100/system3.c
arch/arm/mach-sa1100/system3.c
+3
-4
No files found.
arch/arm/mach-sa1100/Makefile
View file @
5ab808d1
...
@@ -14,10 +14,10 @@ obj-y := generic.o irq.o dma.o
...
@@ -14,10 +14,10 @@ obj-y := generic.o irq.o dma.o
obj-m
:=
obj-m
:=
obj-n
:=
obj-n
:=
obj-
:=
obj-
:=
led-y
:=
leds.o
export-objs
:=
assabet.o dma.o flexanet.o freebird.o generic.o h3600.o
\
export-objs
:=
dma.o generic.o irq.o pcipool.o sa1111.o sa1111-pcibuf.o
\
huw_webpanel.o irq.o pcipool.o sa1111.o sa1111-pcibuf.o
\
usb_ctl.o usb_recv.o usb_send.o
yopy.o usb_ctl.o usb_recv.o usb_send.o
# This needs to be cleaned up. We probably need to have SA1100
# This needs to be cleaned up. We probably need to have SA1100
# and SA1110 config symbols.
# and SA1110 config symbols.
...
@@ -26,8 +26,8 @@ export-objs := assabet.o dma.o flexanet.o freebird.o generic.o h3600.o \
...
@@ -26,8 +26,8 @@ export-objs := assabet.o dma.o flexanet.o freebird.o generic.o h3600.o \
ifeq
($(CONFIG_CPU_FREQ),y)
ifeq
($(CONFIG_CPU_FREQ),y)
obj-$(CONFIG_SA1100_ASSABET)
+=
cpu-sa1110.o
obj-$(CONFIG_SA1100_ASSABET)
+=
cpu-sa1110.o
obj-$(CONFIG_SA1100_CERF)
+=
cpu-sa1110.o
obj-$(CONFIG_SA1100_CERF)
+=
cpu-sa1110.o
obj-$(CONFIG_SA1100_PT_SYSTEM3)
+=
cpu-sa1110.o
obj-$(CONFIG_SA1100_LART)
+=
cpu-sa1100.o
obj-$(CONFIG_SA1100_LART)
+=
cpu-sa1100.o
obj-$(CONFIG_SA1100_PT_SYSTEM3)
+=
cpu-sa1110.o
endif
endif
# Next, the SA1111 stuff.
# Next, the SA1111 stuff.
...
@@ -36,47 +36,83 @@ obj-$(CONFIG_USB_OHCI_SA1111) += sa1111-pcibuf.o pcipool.o
...
@@ -36,47 +36,83 @@ obj-$(CONFIG_USB_OHCI_SA1111) += sa1111-pcibuf.o pcipool.o
# Specific board support
# Specific board support
obj-$(CONFIG_SA1100_ADSBITSY)
+=
adsbitsy.o
obj-$(CONFIG_SA1100_ADSBITSY)
+=
adsbitsy.o
led-$(CONFIG_SA1100_ADSBITSY)
+=
leds-adsbitsy.o
obj-$(CONFIG_SA1100_ASSABET)
+=
assabet.o
obj-$(CONFIG_SA1100_ASSABET)
+=
assabet.o
export-objs
+=
assabet.o
led-$(CONFIG_SA1100_ASSABET)
+=
leds-assabet.o
obj-$(CONFIG_ASSABET_NEPONSET)
+=
neponset.o
obj-$(CONFIG_ASSABET_NEPONSET)
+=
neponset.o
obj-$(CONFIG_SA1100_BADGE4)
+=
badge4.o
export-objs
+=
badge4.o
obj-$(CONFIG_SA1100_BRUTUS)
+=
brutus.o
obj-$(CONFIG_SA1100_BRUTUS)
+=
brutus.o
led-$(CONFIG_SA1100_BRUTUS)
+=
leds-brutus.o
obj-$(CONFIG_SA1100_CERF)
+=
cerf.o
obj-$(CONFIG_SA1100_CERF)
+=
cerf.o
led-$(CONFIG_SA1100_CERF)
+=
leds-cerf.o
obj-$(CONFIG_SA1100_EMPEG)
+=
empeg.o
obj-$(CONFIG_SA1100_EMPEG)
+=
empeg.o
obj-$(CONFIG_SA1100_FLEXANET)
+=
flexanet.o
obj-$(CONFIG_SA1100_FLEXANET)
+=
flexanet.o
export-objs
+=
flexanet.o
led-$(CONFIG_SA1100_FLEXANET)
+=
leds-flexanet.o
obj-$(CONFIG_SA1100_FREEBIRD)
+=
freebird.o
obj-$(CONFIG_SA1100_FREEBIRD)
+=
freebird.o
export-objs
+=
freebird.o
obj-$(CONFIG_SA1100_GRAPHICSCLIENT)
+=
graphicsclient.o
obj-$(CONFIG_SA1100_GRAPHICSCLIENT)
+=
graphicsclient.o
led-$(CONFIG_SA1100_GRAPHICSCLIENT)
+=
leds-graphicsclient.o
obj-$(CONFIG_SA1100_GRAPHICSMASTER)
+=
graphicsmaster.o
obj-$(CONFIG_SA1100_GRAPHICSMASTER)
+=
graphicsmaster.o
led-$(CONFIG_SA1100_GRAPHICSMASTER)
+=
leds-graphicsmaster.o
obj-$(CONFIG_SA1100_H3600)
+=
h3600.o
obj-$(CONFIG_SA1100_H3600)
+=
h3600.o
export-objs
+=
h3600.o
obj-$(CONFIG_SA1100_HUW_WEBPANEL)
+=
huw_webpanel.o
obj-$(CONFIG_SA1100_HUW_WEBPANEL)
+=
huw_webpanel.o
export-objs
+=
huw_webpanel.o
obj-$(CONFIG_SA1100_ITSY)
+=
itsy.o
obj-$(CONFIG_SA1100_ITSY)
+=
itsy.o
obj-$(CONFIG_SA1100_JORNADA720)
+=
jornada720.o
obj-$(CONFIG_SA1100_JORNADA720)
+=
jornada720.o
obj-$(CONFIG_SA1100_LART)
+=
lart.o
obj-$(CONFIG_SA1100_LART)
+=
lart.o
led-$(CONFIG_SA1100_LART)
+=
leds-lart.o
obj-$(CONFIG_SA1100_NANOENGINE)
+=
nanoengine.o
obj-$(CONFIG_SA1100_NANOENGINE)
+=
nanoengine.o
obj-$(CONFIG_SA1100_OMNIMETER)
+=
omnimeter.o
obj-$(CONFIG_SA1100_OMNIMETER)
+=
omnimeter.o
obj-$(CONFIG_SA1100_PANGOLIN)
+=
pangolin.o
obj-$(CONFIG_SA1100_PANGOLIN)
+=
pangolin.o
obj-$(CONFIG_SA1100_PFS168)
+=
pfs168.o
obj-$(CONFIG_SA1100_PFS168)
+=
pfs168.o
led-$(CONFIG_SA1100_PFS168)
+=
leds-pfs168.o
obj-$(CONFIG_SA1100_PLEB)
+=
pleb.o
obj-$(CONFIG_SA1100_PLEB)
+=
pleb.o
obj-$(CONFIG_SA1100_PT_SYSTEM3)
+=
system3.o
led-$(CONFIG_SA1100_PT_SYSTEM3)
+=
leds-system3.o
obj-$(CONFIG_SA1100_SHANNON)
+=
shannon.o
obj-$(CONFIG_SA1100_SHANNON)
+=
shannon.o
obj-$(CONFIG_SA1100_SHERMAN)
+=
sherman.o
obj-$(CONFIG_SA1100_SHERMAN)
+=
sherman.o
obj-$(CONFIG_SA1100_PT_SYSTEM3)
+=
system3.o
obj-$(CONFIG_SA1100_SIMPAD)
+=
simpad.o
obj-$(CONFIG_SA1100_SIMPAD)
+=
simpad.o
led-$(CONFIG_SA1100_SIMPAD)
+=
leds-simpad.o
obj-$(CONFIG_SA1100_STORK)
+=
stork.o
export-objs
+=
stork.o
obj-$(CONFIG_SA1100_VICTOR)
+=
victor.o
obj-$(CONFIG_SA1100_VICTOR)
+=
victor.o
obj-$(CONFIG_SA1100_XP860)
+=
xp860.o
obj-$(CONFIG_SA1100_XP860)
+=
xp860.o
obj-$(CONFIG_SA1100_YOPY)
+=
yopy.o
obj-$(CONFIG_SA1100_YOPY)
+=
yopy.o
export-objs
+=
yopy.o
# LEDs support
# LEDs support
leds-y
:=
leds.o
obj-$(CONFIG_LEDS)
+=
$
(
led-y
)
leds-$(CONFIG_SA1100_ADSBITSY)
+=
leds-adsbitsy.o
leds-$(CONFIG_SA1100_ASSABET)
+=
leds-assabet.o
leds-$(CONFIG_SA1100_BRUTUS)
+=
leds-brutus.o
leds-$(CONFIG_SA1100_CERF)
+=
leds-cerf.o
leds-$(CONFIG_SA1100_FLEXANET)
+=
leds-flexanet.o
leds-$(CONFIG_SA1100_GRAPHICSCLIENT)
+=
leds-graphicsclient.o
leds-$(CONFIG_SA1100_GRAPHICSMASTER)
+=
leds-graphicsmaster.o
leds-$(CONFIG_SA1100_LART)
+=
leds-lart.o
leds-$(CONFIG_SA1100_PFS168)
+=
leds-pfs168.o
leds-$(CONFIG_SA1100_SIMPAD)
+=
leds-simpad.o
leds-$(CONFIG_SA1100_PT_SYSTEM3)
+=
leds-system3.o
obj-$(CONFIG_LEDS)
+=
$
(
leds-y
)
# SA1110 USB client support
# SA1110 USB client support
list-multi
+=
sa1100usb_core.o
list-multi
+=
sa1100usb_core.o
...
...
arch/arm/mach-sa1100/cpu-sa1110.c
View file @
5ab808d1
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright (C) 2001 Russell King
* Copyright (C) 2001 Russell King
*
*
* $Id: cpu-sa1110.c,v 1.
6 2001/10/22 11:53:4
7 rmk Exp $
* $Id: cpu-sa1110.c,v 1.
8 2002/01/09 17:13:2
7 rmk Exp $
*
*
* This program is free software; you can redistribute it and/or modify
* 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
* it under the terms of the GNU General Public License version 2 as
...
@@ -78,6 +78,16 @@ static struct sdram_params samsung_k4s641632d_tc75 __initdata = {
...
@@ -78,6 +78,16 @@ static struct sdram_params samsung_k4s641632d_tc75 __initdata = {
cas_latency:
3
,
cas_latency:
3
,
};
};
static
struct
sdram_params
samsung_km416s4030ct
__initdata
=
{
rows:
13
,
tck:
8
,
trcd:
24
,
/* 3 CLKs */
trp:
24
,
/* 3 CLKs */
twr:
16
,
/* Trdl: 2 CLKs */
refresh:
64000
,
cas_latency:
3
,
};
static
struct
sdram_params
sdram_params
;
static
struct
sdram_params
sdram_params
;
/*
/*
...
@@ -273,6 +283,8 @@ static int __init sa1110_clk_init(void)
...
@@ -273,6 +283,8 @@ static int __init sa1110_clk_init(void)
if
(
machine_is_pt_system3
())
if
(
machine_is_pt_system3
())
sdram
=
&
samsung_k4s641632d_tc75
;
sdram
=
&
samsung_k4s641632d_tc75
;
if
(
machine_is_h3100
())
sdram
=
&
samsung_km416s4030ct
;
if
(
sdram
)
{
if
(
sdram
)
{
printk
(
KERN_DEBUG
"SDRAM: tck: %d trcd: %d trp: %d"
printk
(
KERN_DEBUG
"SDRAM: tck: %d trcd: %d trp: %d"
...
...
arch/arm/mach-sa1100/system3.c
View file @
5ab808d1
...
@@ -100,7 +100,6 @@ extern void convert_to_tag_list(struct param_struct *params, int mem_init);
...
@@ -100,7 +100,6 @@ extern void convert_to_tag_list(struct param_struct *params, int mem_init);
static
struct
map_desc
system3_io_desc
[]
__initdata
=
{
static
struct
map_desc
system3_io_desc
[]
__initdata
=
{
/* virtual physical length domain r w c b */
/* virtual physical length domain r w c b */
{
0xe8000000
,
0x00000000
,
0x01000000
,
DOMAIN_IO
,
0
,
1
,
0
,
0
},
/* Flash bank 0 */
{
0xf3000000
,
PT_CPLD_BASE
,
0x00100000
,
DOMAIN_IO
,
0
,
1
,
0
,
0
},
/* System Registers */
{
0xf3000000
,
PT_CPLD_BASE
,
0x00100000
,
DOMAIN_IO
,
0
,
1
,
0
,
0
},
/* System Registers */
{
0xf4000000
,
PT_SA1111_BASE
,
0x00100000
,
DOMAIN_IO
,
0
,
1
,
0
,
0
},
/* SA-1111 */
{
0xf4000000
,
PT_SA1111_BASE
,
0x00100000
,
DOMAIN_IO
,
0
,
1
,
0
,
0
},
/* SA-1111 */
LAST_DESC
LAST_DESC
...
...
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