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
a2062807
Commit
a2062807
authored
Sep 29, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
77eb3558
ad51287b
Changes
48
Hide whitespace changes
Inline
Side-by-side
Showing
48 changed files
with
193 additions
and
88 deletions
+193
-88
arch/arm/boot/compressed/head-xscale.S
arch/arm/boot/compressed/head-xscale.S
+0
-6
arch/arm/boot/compressed/misc.c
arch/arm/boot/compressed/misc.c
+12
-12
arch/arm/common/sa1111.c
arch/arm/common/sa1111.c
+4
-0
arch/arm/mach-pxa/dma.c
arch/arm/mach-pxa/dma.c
+1
-0
arch/arm/mach-pxa/generic.c
arch/arm/mach-pxa/generic.c
+1
-0
arch/arm/mach-pxa/idp.c
arch/arm/mach-pxa/idp.c
+1
-0
arch/arm/mach-pxa/irq.c
arch/arm/mach-pxa/irq.c
+1
-0
arch/arm/mach-pxa/leds-lubbock.c
arch/arm/mach-pxa/leds-lubbock.c
+1
-0
arch/arm/mach-pxa/leds-mainstone.c
arch/arm/mach-pxa/leds-mainstone.c
+1
-0
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/lubbock.c
+1
-0
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/mainstone.c
+1
-0
arch/arm/mach-pxa/pm.c
arch/arm/mach-pxa/pm.c
+1
-0
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa25x.c
+1
-0
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa27x.c
+1
-0
arch/arm/mach-pxa/time.c
arch/arm/mach-pxa/time.c
+1
-0
drivers/mmc/pxamci.c
drivers/mmc/pxamci.c
+1
-0
drivers/pcmcia/pxa2xx_base.c
drivers/pcmcia/pxa2xx_base.c
+1
-33
drivers/pcmcia/pxa2xx_lubbock.c
drivers/pcmcia/pxa2xx_lubbock.c
+31
-1
drivers/pcmcia/pxa2xx_mainstone.c
drivers/pcmcia/pxa2xx_mainstone.c
+24
-0
drivers/pcmcia/soc_common.c
drivers/pcmcia/soc_common.c
+5
-0
drivers/serial/pxa.c
drivers/serial/pxa.c
+1
-0
drivers/usb/gadget/pxa2xx_udc.c
drivers/usb/gadget/pxa2xx_udc.c
+1
-0
drivers/video/pxafb.c
drivers/video/pxafb.c
+1
-0
include/asm-arm/arch-cl7500/uncompress.h
include/asm-arm/arch-cl7500/uncompress.h
+1
-1
include/asm-arm/arch-clps711x/uncompress.h
include/asm-arm/arch-clps711x/uncompress.h
+1
-1
include/asm-arm/arch-ebsa110/uncompress.h
include/asm-arm/arch-ebsa110/uncompress.h
+1
-1
include/asm-arm/arch-ebsa285/uncompress.h
include/asm-arm/arch-ebsa285/uncompress.h
+1
-1
include/asm-arm/arch-epxa10db/uncompress.h
include/asm-arm/arch-epxa10db/uncompress.h
+1
-1
include/asm-arm/arch-imx/uncompress.h
include/asm-arm/arch-imx/uncompress.h
+1
-1
include/asm-arm/arch-integrator/uncompress.h
include/asm-arm/arch-integrator/uncompress.h
+1
-1
include/asm-arm/arch-iop3xx/hardware.h
include/asm-arm/arch-iop3xx/hardware.h
+2
-0
include/asm-arm/arch-iop3xx/uncompress.h
include/asm-arm/arch-iop3xx/uncompress.h
+1
-1
include/asm-arm/arch-ixp2000/uncompress.h
include/asm-arm/arch-ixp2000/uncompress.h
+1
-1
include/asm-arm/arch-ixp4xx/uncompress.h
include/asm-arm/arch-ixp4xx/uncompress.h
+1
-1
include/asm-arm/arch-l7200/uncompress.h
include/asm-arm/arch-l7200/uncompress.h
+1
-1
include/asm-arm/arch-lh7a40x/uncompress.h
include/asm-arm/arch-lh7a40x/uncompress.h
+1
-1
include/asm-arm/arch-omap/uncompress.h
include/asm-arm/arch-omap/uncompress.h
+1
-1
include/asm-arm/arch-pxa/hardware.h
include/asm-arm/arch-pxa/hardware.h
+0
-2
include/asm-arm/arch-pxa/pxa-regs.h
include/asm-arm/arch-pxa/pxa-regs.h
+25
-13
include/asm-arm/arch-pxa/system.h
include/asm-arm/arch-pxa/system.h
+1
-0
include/asm-arm/arch-pxa/uncompress.h
include/asm-arm/arch-pxa/uncompress.h
+1
-1
include/asm-arm/arch-rpc/uncompress.h
include/asm-arm/arch-rpc/uncompress.h
+1
-1
include/asm-arm/arch-s3c2410/nand.h
include/asm-arm/arch-s3c2410/nand.h
+48
-0
include/asm-arm/arch-s3c2410/regs-clock.h
include/asm-arm/arch-s3c2410/regs-clock.h
+5
-2
include/asm-arm/arch-s3c2410/uncompress.h
include/asm-arm/arch-s3c2410/uncompress.h
+1
-1
include/asm-arm/arch-sa1100/uncompress.h
include/asm-arm/arch-sa1100/uncompress.h
+1
-1
include/asm-arm/arch-shark/uncompress.h
include/asm-arm/arch-shark/uncompress.h
+1
-1
include/asm-arm/arch-versatile/uncompress.h
include/asm-arm/arch-versatile/uncompress.h
+1
-1
No files found.
arch/arm/boot/compressed/head-xscale.S
View file @
a2062807
...
@@ -35,21 +35,15 @@ __XScale_start:
...
@@ -35,21 +35,15 @@ __XScale_start:
mcr
p15
,
0
,
r0
,
c1
,
c0
,
0
mcr
p15
,
0
,
r0
,
c1
,
c0
,
0
#ifdef CONFIG_ARCH_IQ80321
#ifdef CONFIG_ARCH_IQ80321
orr
pc
,
pc
,
#
PHYS_OFFSET
@
jump
to
physical
memory
if
we
are
not
there
.
nop
mov
r7
,
#
MACH_TYPE_IQ80321
mov
r7
,
#
MACH_TYPE_IQ80321
#endif
#endif
#ifdef CONFIG_ARCH_IQ31244
#ifdef CONFIG_ARCH_IQ31244
orr
pc
,
pc
,
#
PHYS_OFFSET
@
jump
to
physical
memory
if
we
are
not
there
.
nop
mov
r7
,
#(
MACH_TYPE_IQ31244
&
0xff
)
mov
r7
,
#(
MACH_TYPE_IQ31244
&
0xff
)
orr
r7
,
r7
,
#(
MACH_TYPE_IQ31244
&
0xff00
)
orr
r7
,
r7
,
#(
MACH_TYPE_IQ31244
&
0xff00
)
#endif
#endif
#ifdef CONFIG_ARCH_IQ80331
#ifdef CONFIG_ARCH_IQ80331
orr
pc
,
pc
,
#
PHYS_OFFSET
@
jump
to
physical
memory
if
we
are
not
there
.
nop
mov
r7
,
#(
MACH_TYPE_IQ80331
&
0xff
)
mov
r7
,
#(
MACH_TYPE_IQ80331
&
0xff
)
orr
r7
,
r7
,
#(
MACH_TYPE_IQ80331
&
0xff00
)
orr
r7
,
r7
,
#(
MACH_TYPE_IQ80331
&
0xff00
)
#endif
#endif
...
...
arch/arm/boot/compressed/misc.c
View file @
a2062807
...
@@ -23,17 +23,17 @@ unsigned int __machine_arch_type;
...
@@ -23,17 +23,17 @@ unsigned int __machine_arch_type;
#include <asm/arch/uncompress.h>
#include <asm/arch/uncompress.h>
#ifdef STANDALONE_DEBUG
#ifdef STANDALONE_DEBUG
#define puts printf
#define puts
tr
printf
#endif
#endif
#ifdef CONFIG_DEBUG_ICEDCC
#ifdef CONFIG_DEBUG_ICEDCC
#define puts
icedcc_puts
#define puts
tr icedcc_putstr
#define putc icedcc_putc
#define putc icedcc_putc
extern
void
idedcc_putc
(
int
ch
);
extern
void
idedcc_putc
(
int
ch
);
static
void
static
void
icedcc_puts
(
const
char
*
ptr
)
icedcc_puts
tr
(
const
char
*
ptr
)
{
{
for
(;
*
ptr
!=
'\0'
;
ptr
++
)
{
for
(;
*
ptr
!=
'\0'
;
ptr
++
)
{
icedcc_putc
(
*
ptr
);
icedcc_putc
(
*
ptr
);
...
@@ -191,7 +191,7 @@ static void error(char *m);
...
@@ -191,7 +191,7 @@ static void error(char *m);
static
void
gzip_mark
(
void
**
);
static
void
gzip_mark
(
void
**
);
static
void
gzip_release
(
void
**
);
static
void
gzip_release
(
void
**
);
static
void
puts
(
const
char
*
);
static
void
puts
tr
(
const
char
*
);
extern
int
end
;
extern
int
end
;
static
ulg
free_mem_ptr
;
static
ulg
free_mem_ptr
;
...
@@ -280,14 +280,14 @@ void flush_window(void)
...
@@ -280,14 +280,14 @@ void flush_window(void)
bytes_out
+=
(
ulg
)
outcnt
;
bytes_out
+=
(
ulg
)
outcnt
;
output_ptr
+=
(
ulg
)
outcnt
;
output_ptr
+=
(
ulg
)
outcnt
;
outcnt
=
0
;
outcnt
=
0
;
puts
(
"."
);
puts
tr
(
"."
);
}
}
static
void
error
(
char
*
x
)
static
void
error
(
char
*
x
)
{
{
puts
(
"
\n\n
"
);
puts
tr
(
"
\n\n
"
);
puts
(
x
);
puts
tr
(
x
);
puts
(
"
\n\n
-- System halted"
);
puts
tr
(
"
\n\n
-- System halted"
);
while
(
1
);
/* Halt */
while
(
1
);
/* Halt */
}
}
...
@@ -306,9 +306,9 @@ decompress_kernel(ulg output_start, ulg free_mem_ptr_p, ulg free_mem_ptr_end_p,
...
@@ -306,9 +306,9 @@ decompress_kernel(ulg output_start, ulg free_mem_ptr_p, ulg free_mem_ptr_end_p,
arch_decomp_setup
();
arch_decomp_setup
();
makecrc
();
makecrc
();
puts
(
"Uncompressing Linux..."
);
puts
tr
(
"Uncompressing Linux..."
);
gunzip
();
gunzip
();
puts
(
" done, booting the kernel.
\n
"
);
puts
tr
(
" done, booting the kernel.
\n
"
);
return
output_ptr
;
return
output_ptr
;
}
}
#else
#else
...
@@ -320,9 +320,9 @@ int main()
...
@@ -320,9 +320,9 @@ int main()
output_data
=
output_buffer
;
output_data
=
output_buffer
;
makecrc
();
makecrc
();
puts
(
"Uncompressing Linux..."
);
puts
tr
(
"Uncompressing Linux..."
);
gunzip
();
gunzip
();
puts
(
"done.
\n
"
);
puts
tr
(
"done.
\n
"
);
return
0
;
return
0
;
}
}
#endif
#endif
...
...
arch/arm/common/sa1111.c
View file @
a2062807
...
@@ -35,6 +35,10 @@
...
@@ -35,6 +35,10 @@
#include <asm/hardware/sa1111.h>
#include <asm/hardware/sa1111.h>
#ifdef CONFIG_ARCH_PXA
#include <asm/arch/pxa-regs.h>
#endif
extern
void
__init
sa1110_mb_enable
(
void
);
extern
void
__init
sa1110_mb_enable
(
void
);
/*
/*
...
...
arch/arm/mach-pxa/dma.c
View file @
a2062807
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/dma.h>
#include <asm/dma.h>
#include <asm/arch/pxa-regs.h>
static
struct
dma_channel
{
static
struct
dma_channel
{
char
*
name
;
char
*
name
;
...
...
arch/arm/mach-pxa/generic.c
View file @
a2062807
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include <asm/pgtable.h>
#include <asm/pgtable.h>
#include <asm/mach/map.h>
#include <asm/mach/map.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/udc.h>
#include <asm/arch/udc.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/mmc.h>
#include <asm/arch/mmc.h>
...
...
arch/arm/mach-pxa/idp.c
View file @
a2062807
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
#include <asm/mach/arch.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/map.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/idp.h>
#include <asm/arch/idp.h>
#include "generic.h"
#include "generic.h"
...
...
arch/arm/mach-pxa/irq.c
View file @
a2062807
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include <asm/mach/irq.h>
#include <asm/mach/irq.h>
#include <asm/arch/pxa-regs.h>
#include "generic.h"
#include "generic.h"
...
...
arch/arm/mach-pxa/leds-lubbock.c
View file @
a2062807
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/leds.h>
#include <asm/leds.h>
#include <asm/system.h>
#include <asm/system.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/lubbock.h>
#include <asm/arch/lubbock.h>
#include "leds.h"
#include "leds.h"
...
...
arch/arm/mach-pxa/leds-mainstone.c
View file @
a2062807
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include <asm/leds.h>
#include <asm/leds.h>
#include <asm/system.h>
#include <asm/system.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/mainstone.h>
#include <asm/arch/mainstone.h>
#include "leds.h"
#include "leds.h"
...
...
arch/arm/mach-pxa/lubbock.c
View file @
a2062807
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
#include <asm/mach/map.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/mach/irq.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/lubbock.h>
#include <asm/arch/lubbock.h>
#include <asm/arch/udc.h>
#include <asm/arch/udc.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/pxafb.h>
...
...
arch/arm/mach-pxa/mainstone.c
View file @
a2062807
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <asm/mach/map.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/mach/irq.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/mainstone.h>
#include <asm/arch/mainstone.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/pxafb.h>
...
...
arch/arm/mach-pxa/pm.c
View file @
a2062807
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/memory.h>
#include <asm/memory.h>
#include <asm/system.h>
#include <asm/system.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/lubbock.h>
#include <asm/arch/lubbock.h>
...
...
arch/arm/mach-pxa/pxa25x.c
View file @
a2062807
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <linux/pm.h>
#include <linux/pm.h>
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/arch/pxa-regs.h>
#include "generic.h"
#include "generic.h"
...
...
arch/arm/mach-pxa/pxa27x.c
View file @
a2062807
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <asm/arch/pxa-regs.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/pm.h>
#include <linux/pm.h>
...
...
arch/arm/mach-pxa/time.c
View file @
a2062807
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
#include <asm/irq.h>
#include <asm/irq.h>
#include <asm/mach/irq.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <asm/mach/time.h>
#include <asm/arch/pxa-regs.h>
static
inline
unsigned
long
pxa_get_rtc_time
(
void
)
static
inline
unsigned
long
pxa_get_rtc_time
(
void
)
...
...
drivers/mmc/pxamci.c
View file @
a2062807
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include <asm/irq.h>
#include <asm/irq.h>
#include <asm/sizes.h>
#include <asm/sizes.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/mmc.h>
#include <asm/arch/mmc.h>
#include "pxamci.h"
#include "pxamci.h"
...
...
drivers/pcmcia/pxa2xx_base.c
View file @
a2062807
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include <asm/system.h>
#include <asm/system.h>
#include <asm/arch/pxa-regs.h>
#include <pcmcia/cs_types.h>
#include <pcmcia/cs_types.h>
#include <pcmcia/ss.h>
#include <pcmcia/ss.h>
...
@@ -178,39 +179,6 @@ int pxa2xx_drv_pcmcia_probe(struct device *dev)
...
@@ -178,39 +179,6 @@ int pxa2xx_drv_pcmcia_probe(struct device *dev)
first
=
ops
->
first
;
first
=
ops
->
first
;
nr
=
ops
->
nr
;
nr
=
ops
->
nr
;
/* Setup GPIOs for PCMCIA/CF alternate function mode.
*
* It would be nice if set_GPIO_mode included support
* for driving GPIO outputs to default high/low state
* before programming GPIOs as outputs. Setting GPIO
* outputs to default high/low state via GPSR/GPCR
* before defining them as outputs should reduce
* the possibility of glitching outputs during GPIO
* setup. This of course assumes external terminators
* are present to hold GPIOs in a defined state.
*
* In the meantime, setup default state of GPIO
* outputs before we enable them as outputs.
*/
GPSR
(
GPIO48_nPOE
)
=
GPIO_bit
(
GPIO48_nPOE
)
|
GPIO_bit
(
GPIO49_nPWE
)
|
GPIO_bit
(
GPIO50_nPIOR
)
|
GPIO_bit
(
GPIO51_nPIOW
)
|
GPIO_bit
(
GPIO52_nPCE_1
)
|
GPIO_bit
(
GPIO53_nPCE_2
);
pxa_gpio_mode
(
GPIO48_nPOE_MD
);
pxa_gpio_mode
(
GPIO49_nPWE_MD
);
pxa_gpio_mode
(
GPIO50_nPIOR_MD
);
pxa_gpio_mode
(
GPIO51_nPIOW_MD
);
pxa_gpio_mode
(
GPIO52_nPCE_1_MD
);
pxa_gpio_mode
(
GPIO53_nPCE_2_MD
);
pxa_gpio_mode
(
GPIO54_pSKTSEL_MD
);
/* REVISIT: s/b dependent on num sockets */
pxa_gpio_mode
(
GPIO55_nPREG_MD
);
pxa_gpio_mode
(
GPIO56_nPWAIT_MD
);
pxa_gpio_mode
(
GPIO57_nIOIS16_MD
);
/* Provide our PXA2xx specific timing routines. */
/* Provide our PXA2xx specific timing routines. */
ops
->
set_timing
=
pxa2xx_pcmcia_set_timing
;
ops
->
set_timing
=
pxa2xx_pcmcia_set_timing
;
#ifdef CONFIG_CPU_FREQ
#ifdef CONFIG_CPU_FREQ
...
...
drivers/pcmcia/pxa2xx_lubbock.c
View file @
a2062807
...
@@ -25,10 +25,40 @@
...
@@ -25,10 +25,40 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/hardware/sa1111.h>
#include <asm/hardware/sa1111.h>
#include <asm/mach-types.h>
#include <asm/mach-types.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/lubbock.h>
#include <asm/arch/lubbock.h>
#include "sa1111_generic.h"
#include "sa1111_generic.h"
static
int
lubbock_pcmcia_hw_init
(
struct
soc_pcmcia_socket
*
skt
)
{
/*
* Setup default state of GPIO outputs
* before we enable them as outputs.
*/
GPSR
(
GPIO48_nPOE
)
=
GPIO_bit
(
GPIO48_nPOE
)
|
GPIO_bit
(
GPIO49_nPWE
)
|
GPIO_bit
(
GPIO50_nPIOR
)
|
GPIO_bit
(
GPIO51_nPIOW
)
|
GPIO_bit
(
GPIO52_nPCE_1
)
|
GPIO_bit
(
GPIO53_nPCE_2
);
pxa_gpio_mode
(
GPIO48_nPOE_MD
);
pxa_gpio_mode
(
GPIO49_nPWE_MD
);
pxa_gpio_mode
(
GPIO50_nPIOR_MD
);
pxa_gpio_mode
(
GPIO51_nPIOW_MD
);
pxa_gpio_mode
(
GPIO52_nPCE_1_MD
);
pxa_gpio_mode
(
GPIO53_nPCE_2_MD
);
pxa_gpio_mode
(
GPIO54_pSKTSEL_MD
);
pxa_gpio_mode
(
GPIO55_nPREG_MD
);
pxa_gpio_mode
(
GPIO56_nPWAIT_MD
);
pxa_gpio_mode
(
GPIO57_nIOIS16_MD
);
return
sa1111_pcmcia_hw_init
(
skt
);
}
static
int
static
int
lubbock_pcmcia_configure_socket
(
struct
soc_pcmcia_socket
*
skt
,
lubbock_pcmcia_configure_socket
(
struct
soc_pcmcia_socket
*
skt
,
const
socket_state_t
*
state
)
const
socket_state_t
*
state
)
...
@@ -201,7 +231,7 @@ lubbock_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
...
@@ -201,7 +231,7 @@ lubbock_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
static
struct
pcmcia_low_level
lubbock_pcmcia_ops
=
{
static
struct
pcmcia_low_level
lubbock_pcmcia_ops
=
{
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
.
hw_init
=
sa1111
_pcmcia_hw_init
,
.
hw_init
=
lubbock
_pcmcia_hw_init
,
.
hw_shutdown
=
sa1111_pcmcia_hw_shutdown
,
.
hw_shutdown
=
sa1111_pcmcia_hw_shutdown
,
.
socket_state
=
sa1111_pcmcia_socket_state
,
.
socket_state
=
sa1111_pcmcia_socket_state
,
.
configure_socket
=
lubbock_pcmcia_configure_socket
,
.
configure_socket
=
lubbock_pcmcia_configure_socket
,
...
...
drivers/pcmcia/pxa2xx_mainstone.c
View file @
a2062807
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/mainstone.h>
#include <asm/arch/mainstone.h>
#include "soc_common.h"
#include "soc_common.h"
...
@@ -38,6 +39,29 @@ static struct pcmcia_irqs irqs[] = {
...
@@ -38,6 +39,29 @@ static struct pcmcia_irqs irqs[] = {
static
int
mst_pcmcia_hw_init
(
struct
soc_pcmcia_socket
*
skt
)
static
int
mst_pcmcia_hw_init
(
struct
soc_pcmcia_socket
*
skt
)
{
{
/*
* Setup default state of GPIO outputs
* before we enable them as outputs.
*/
GPSR
(
GPIO48_nPOE
)
=
GPIO_bit
(
GPIO48_nPOE
)
|
GPIO_bit
(
GPIO49_nPWE
)
|
GPIO_bit
(
GPIO50_nPIOR
)
|
GPIO_bit
(
GPIO51_nPIOW
)
|
GPIO_bit
(
GPIO85_nPCE_1
)
|
GPIO_bit
(
GPIO54_nPCE_2
);
pxa_gpio_mode
(
GPIO48_nPOE_MD
);
pxa_gpio_mode
(
GPIO49_nPWE_MD
);
pxa_gpio_mode
(
GPIO50_nPIOR_MD
);
pxa_gpio_mode
(
GPIO51_nPIOW_MD
);
pxa_gpio_mode
(
GPIO85_nPCE_1_MD
);
pxa_gpio_mode
(
GPIO54_nPCE_2_MD
);
pxa_gpio_mode
(
GPIO79_pSKTSEL_MD
);
pxa_gpio_mode
(
GPIO55_nPREG_MD
);
pxa_gpio_mode
(
GPIO56_nPWAIT_MD
);
pxa_gpio_mode
(
GPIO57_nIOIS16_MD
);
skt
->
irq
=
(
skt
->
nr
==
0
)
?
MAINSTONE_S0_IRQ
:
MAINSTONE_S1_IRQ
;
skt
->
irq
=
(
skt
->
nr
==
0
)
?
MAINSTONE_S0_IRQ
:
MAINSTONE_S1_IRQ
;
return
soc_pcmcia_request_irqs
(
skt
,
irqs
,
ARRAY_SIZE
(
irqs
));
return
soc_pcmcia_request_irqs
(
skt
,
irqs
,
ARRAY_SIZE
(
irqs
));
}
}
...
...
drivers/pcmcia/soc_common.c
View file @
a2062807
...
@@ -49,6 +49,11 @@
...
@@ -49,6 +49,11 @@
#include "soc_common.h"
#include "soc_common.h"
/* FIXME: platform dependent resource declaration has to move out of this file */
#ifdef CONFIG_ARCH_PXA
#include <asm/arch/pxa-regs.h>
#endif
#ifdef DEBUG
#ifdef DEBUG
static
int
pc_debug
;
static
int
pc_debug
;
...
...
drivers/serial/pxa.c
View file @
a2062807
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include <asm/arch/pxa-regs.h>
#if defined(CONFIG_SERIAL_PXA_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#if defined(CONFIG_SERIAL_PXA_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#define SUPPORT_SYSRQ
...
...
drivers/usb/gadget/pxa2xx_udc.c
View file @
a2062807
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
#include <asm/mach-types.h>
#include <asm/mach-types.h>
#include <asm/unaligned.h>
#include <asm/unaligned.h>
#include <asm/hardware.h>
#include <asm/hardware.h>
#include <asm/arch/pxa-regs.h>
#include <linux/usb_ch9.h>
#include <linux/usb_ch9.h>
#include <linux/usb_gadget.h>
#include <linux/usb_gadget.h>
...
...
drivers/video/pxafb.c
View file @
a2062807
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/bitfield.h>
#include <asm/arch/bitfield.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/pxafb.h>
...
...
include/asm-arm/arch-cl7500/uncompress.h
View file @
a2062807
...
@@ -16,7 +16,7 @@ static __inline__ void putc(char c)
...
@@ -16,7 +16,7 @@ static __inline__ void putc(char c)
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
putc
(
*
s
);
putc
(
*
s
);
...
...
include/asm-arm/arch-clps711x/uncompress.h
View file @
a2062807
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
char
c
;
char
c
;
...
...
include/asm-arm/arch-ebsa110/uncompress.h
View file @
a2062807
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
unsigned
long
tmp1
,
tmp2
;
unsigned
long
tmp1
,
tmp2
;
__asm__
__volatile__
(
__asm__
__volatile__
(
...
...
include/asm-arm/arch-ebsa285/uncompress.h
View file @
a2062807
...
@@ -29,7 +29,7 @@ static __inline__ void putc(char c)
...
@@ -29,7 +29,7 @@ static __inline__ void putc(char c)
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
putc
(
*
s
);
putc
(
*
s
);
...
...
include/asm-arm/arch-epxa10db/uncompress.h
View file @
a2062807
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
while
((
*
UART_TSR
(
EXC_UART00_BASE
)
&
while
((
*
UART_TSR
(
EXC_UART00_BASE
)
&
...
...
include/asm-arm/arch-imx/uncompress.h
View file @
a2062807
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
* This does not append a newline
* This does not append a newline
*/
*/
static
void
static
void
puts
(
const
char
*
s
)
puts
tr
(
const
char
*
s
)
{
{
unsigned
long
serial_port
;
unsigned
long
serial_port
;
...
...
include/asm-arm/arch-integrator/uncompress.h
View file @
a2062807
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
while
(
AMBA_UART_FR
&
(
1
<<
5
));
while
(
AMBA_UART_FR
&
(
1
<<
5
));
...
...
include/asm-arm/arch-iop3xx/hardware.h
View file @
a2062807
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
#ifndef __ASM_ARCH_HARDWARE_H
#ifndef __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H
#include <asm/types.h>
/*
/*
* Note about PCI IO space mappings
* Note about PCI IO space mappings
*
*
...
...
include/asm-arm/arch-iop3xx/uncompress.h
View file @
a2062807
...
@@ -26,7 +26,7 @@ static __inline__ void putc(char c)
...
@@ -26,7 +26,7 @@ static __inline__ void putc(char c)
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
putc
(
*
s
);
putc
(
*
s
);
...
...
include/asm-arm/arch-ixp2000/uncompress.h
View file @
a2062807
...
@@ -37,7 +37,7 @@ static __inline__ void putc(char c)
...
@@ -37,7 +37,7 @@ static __inline__ void putc(char c)
*
UARTDR
=
c
;
*
UARTDR
=
c
;
}
}
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
while
(
*
s
)
{
{
...
...
include/asm-arm/arch-ixp4xx/uncompress.h
View file @
a2062807
...
@@ -32,7 +32,7 @@ static __inline__ void putc(char c)
...
@@ -32,7 +32,7 @@ static __inline__ void putc(char c)
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
while
(
*
s
)
{
{
...
...
include/asm-arm/arch-l7200/uncompress.h
View file @
a2062807
...
@@ -23,7 +23,7 @@ static __inline__ void putc(char c)
...
@@ -23,7 +23,7 @@ static __inline__ void putc(char c)
__raw_writeb
(
c
,
IO_UART
+
0x00
);
__raw_writeb
(
c
,
IO_UART
+
0x00
);
}
}
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
if
(
*
s
==
10
)
{
/* If a LF, add CR */
if
(
*
s
==
10
)
{
/* If a LF, add CR */
...
...
include/asm-arm/arch-lh7a40x/uncompress.h
View file @
a2062807
...
@@ -29,7 +29,7 @@ static __inline__ void putc (char ch)
...
@@ -29,7 +29,7 @@ static __inline__ void putc (char ch)
UART_DATA
=
ch
;
UART_DATA
=
ch
;
}
}
static
void
puts
(
const
char
*
sz
)
static
void
puts
tr
(
const
char
*
sz
)
{
{
for
(;
*
sz
;
++
sz
)
{
for
(;
*
sz
;
++
sz
)
{
putc
(
*
sz
);
putc
(
*
sz
);
...
...
include/asm-arm/arch-omap/uncompress.h
View file @
a2062807
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#define omap_get_id() ((*(volatile unsigned int *)(0xfffed404)) >> 12) & ID_MASK
#define omap_get_id() ((*(volatile unsigned int *)(0xfffed404)) >> 12) & ID_MASK
static
void
static
void
puts
(
const
char
*
s
)
puts
tr
(
const
char
*
s
)
{
{
volatile
u8
*
uart
=
0
;
volatile
u8
*
uart
=
0
;
int
shift
=
0
;
int
shift
=
0
;
...
...
include/asm-arm/arch-pxa/hardware.h
View file @
a2062807
...
@@ -72,8 +72,6 @@ typedef struct { volatile u32 offset[4096]; } __regbase;
...
@@ -72,8 +72,6 @@ typedef struct { volatile u32 offset[4096]; } __regbase;
#endif
#endif
#include "pxa-regs.h"
#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
/*
/*
...
...
include/asm-arm/arch-pxa/pxa-regs.h
View file @
a2062807
...
@@ -15,17 +15,6 @@
...
@@ -15,17 +15,6 @@
#include <linux/config.h>
#include <linux/config.h>
// FIXME hack so that SA-1111.h will work [cb]
#ifndef __ASSEMBLY__
typedef
unsigned
short
Word16
;
typedef
unsigned
int
Word32
;
typedef
Word32
Word
;
typedef
Word
Quad
[
4
]
;
typedef
void
*
Address
;
typedef
void
(
*
ExcpHndlr
)
(
void
)
;
#endif
/*
/*
* PXA Chip selects
* PXA Chip selects
*/
*/
...
@@ -962,7 +951,7 @@ typedef void (*ExcpHndlr) (void) ;
...
@@ -962,7 +951,7 @@ typedef void (*ExcpHndlr) (void) ;
#define ICCR0_LBM (1 << 1)
/* Loopback mode */
#define ICCR0_LBM (1 << 1)
/* Loopback mode */
#define ICCR0_ITR (1 << 0)
/* IrDA transmission */
#define ICCR0_ITR (1 << 0)
/* IrDA transmission */
#ifdef CONFIG_
CPU_BULVERDE
#ifdef CONFIG_
PXA27x
#define ICCR2_RXP (1 << 3)
/* Receive Pin Polarity select */
#define ICCR2_RXP (1 << 3)
/* Receive Pin Polarity select */
#define ICCR2_TXP (1 << 2)
/* Transmit Pin Polarity select */
#define ICCR2_TXP (1 << 2)
/* Transmit Pin Polarity select */
#define ICCR2_TRIG (3 << 0)
/* Receive FIFO Trigger threshold */
#define ICCR2_TRIG (3 << 0)
/* Receive FIFO Trigger threshold */
...
@@ -971,7 +960,7 @@ typedef void (*ExcpHndlr) (void) ;
...
@@ -971,7 +960,7 @@ typedef void (*ExcpHndlr) (void) ;
#define ICCR2_TRIG_32 (2 << 0)
/* >= 32 bytes */
#define ICCR2_TRIG_32 (2 << 0)
/* >= 32 bytes */
#endif
#endif
#ifdef CONFIG_
CPU_BULVERDE
#ifdef CONFIG_
PXA27x
#define ICSR0_EOC (1 << 6)
/* DMA End of Descriptor Chain */
#define ICSR0_EOC (1 << 6)
/* DMA End of Descriptor Chain */
#endif
#endif
#define ICSR0_FRE (1 << 5)
/* Framing error */
#define ICSR0_FRE (1 << 5)
/* Framing error */
...
@@ -1185,6 +1174,7 @@ typedef void (*ExcpHndlr) (void) ;
...
@@ -1185,6 +1174,7 @@ typedef void (*ExcpHndlr) (void) ;
#define GPIO30_SDATA_OUT 30
/* AC97/I2S Sdata_out */
#define GPIO30_SDATA_OUT 30
/* AC97/I2S Sdata_out */
#define GPIO31_SYNC 31
/* AC97/I2S sync */
#define GPIO31_SYNC 31
/* AC97/I2S sync */
#define GPIO32_SDATA_IN1 32
/* AC97 Sdata_in1 */
#define GPIO32_SDATA_IN1 32
/* AC97 Sdata_in1 */
#define GPIO32_MMCCLK 32
/* MMC Clock (PXA270) */
#define GPIO33_nCS_5 33
/* chip select 5 */
#define GPIO33_nCS_5 33
/* chip select 5 */
#define GPIO34_FFRXD 34
/* FFUART receive */
#define GPIO34_FFRXD 34
/* FFUART receive */
#define GPIO34_MMCCS0 34
/* MMC Chip Select 0 */
#define GPIO34_MMCCS0 34
/* MMC Chip Select 0 */
...
@@ -1213,6 +1203,7 @@ typedef void (*ExcpHndlr) (void) ;
...
@@ -1213,6 +1203,7 @@ typedef void (*ExcpHndlr) (void) ;
#define GPIO53_MMCCLK 53
/* MMC Clock */
#define GPIO53_MMCCLK 53
/* MMC Clock */
#define GPIO54_MMCCLK 54
/* MMC Clock */
#define GPIO54_MMCCLK 54
/* MMC Clock */
#define GPIO54_pSKTSEL 54
/* Socket Select for Card Space */
#define GPIO54_pSKTSEL 54
/* Socket Select for Card Space */
#define GPIO54_nPCE_2 54
/* Card Enable for Card Space (PXA27x) */
#define GPIO55_nPREG 55
/* Card Address bit 26 */
#define GPIO55_nPREG 55
/* Card Address bit 26 */
#define GPIO56_nPWAIT 56
/* Wait signal for Card Space */
#define GPIO56_nPWAIT 56
/* Wait signal for Card Space */
#define GPIO57_nIOIS16 57
/* Bus Width select for I/O Card Space */
#define GPIO57_nIOIS16 57
/* Bus Width select for I/O Card Space */
...
@@ -1247,6 +1238,15 @@ typedef void (*ExcpHndlr) (void) ;
...
@@ -1247,6 +1238,15 @@ typedef void (*ExcpHndlr) (void) ;
#define GPIO78_nCS_2 78
/* chip select 2 */
#define GPIO78_nCS_2 78
/* chip select 2 */
#define GPIO79_nCS_3 79
/* chip select 3 */
#define GPIO79_nCS_3 79
/* chip select 3 */
#define GPIO80_nCS_4 80
/* chip select 4 */
#define GPIO80_nCS_4 80
/* chip select 4 */
#define GPIO85_nPCE_1 85
/* Card Enable for Card Space (PXA27x) */
#define GPIO92_MMCDAT0 92
/* MMC DAT0 (PXA27x) */
#define GPIO109_MMCDAT1 109
/* MMC DAT1 (PXA27x) */
#define GPIO110_MMCDAT2 110
/* MMC DAT2 (PXA27x) */
#define GPIO110_MMCCS0 110
/* MMC Chip Select 0 (PXA27x) */
#define GPIO111_MMCDAT3 111
/* MMC DAT3 (PXA27x) */
#define GPIO111_MMCCS1 111
/* MMC Chip Select 1 (PXA27x) */
#define GPIO112_MMCCMD 112
/* MMC CMD (PXA27x) */
#define GPIO113_AC97_RESET_N 113
/* AC97 NRESET on (PXA27x) */
/* GPIO alternate function mode & direction */
/* GPIO alternate function mode & direction */
...
@@ -1292,6 +1292,7 @@ typedef void (*ExcpHndlr) (void) ;
...
@@ -1292,6 +1292,7 @@ typedef void (*ExcpHndlr) (void) ;
#define GPIO31_SYNC_AC97_MD (31 | GPIO_ALT_FN_2_OUT)
#define GPIO31_SYNC_AC97_MD (31 | GPIO_ALT_FN_2_OUT)
#define GPIO31_SYNC_I2S_MD (31 | GPIO_ALT_FN_1_OUT)
#define GPIO31_SYNC_I2S_MD (31 | GPIO_ALT_FN_1_OUT)
#define GPIO32_SDATA_IN1_AC97_MD (32 | GPIO_ALT_FN_1_IN)
#define GPIO32_SDATA_IN1_AC97_MD (32 | GPIO_ALT_FN_1_IN)
#define GPIO32_MMCCLK_MD ( 32 | GPIO_ALT_FN_2_OUT)
#define GPIO33_nCS_5_MD (33 | GPIO_ALT_FN_2_OUT)
#define GPIO33_nCS_5_MD (33 | GPIO_ALT_FN_2_OUT)
#define GPIO34_FFRXD_MD (34 | GPIO_ALT_FN_1_IN)
#define GPIO34_FFRXD_MD (34 | GPIO_ALT_FN_1_IN)
#define GPIO34_MMCCS0_MD (34 | GPIO_ALT_FN_2_OUT)
#define GPIO34_MMCCS0_MD (34 | GPIO_ALT_FN_2_OUT)
...
@@ -1319,6 +1320,7 @@ typedef void (*ExcpHndlr) (void) ;
...
@@ -1319,6 +1320,7 @@ typedef void (*ExcpHndlr) (void) ;
#define GPIO53_nPCE_2_MD (53 | GPIO_ALT_FN_2_OUT)
#define GPIO53_nPCE_2_MD (53 | GPIO_ALT_FN_2_OUT)
#define GPIO53_MMCCLK_MD (53 | GPIO_ALT_FN_1_OUT)
#define GPIO53_MMCCLK_MD (53 | GPIO_ALT_FN_1_OUT)
#define GPIO54_MMCCLK_MD (54 | GPIO_ALT_FN_1_OUT)
#define GPIO54_MMCCLK_MD (54 | GPIO_ALT_FN_1_OUT)
#define GPIO54_nPCE_2_MD (54 | GPIO_ALT_FN_2_OUT)
#define GPIO54_pSKTSEL_MD (54 | GPIO_ALT_FN_2_OUT)
#define GPIO54_pSKTSEL_MD (54 | GPIO_ALT_FN_2_OUT)
#define GPIO55_nPREG_MD (55 | GPIO_ALT_FN_2_OUT)
#define GPIO55_nPREG_MD (55 | GPIO_ALT_FN_2_OUT)
#define GPIO56_nPWAIT_MD (56 | GPIO_ALT_FN_1_IN)
#define GPIO56_nPWAIT_MD (56 | GPIO_ALT_FN_1_IN)
...
@@ -1353,7 +1355,17 @@ typedef void (*ExcpHndlr) (void) ;
...
@@ -1353,7 +1355,17 @@ typedef void (*ExcpHndlr) (void) ;
#define GPIO77_LCD_ACBIAS_MD (77 | GPIO_ALT_FN_2_OUT)
#define GPIO77_LCD_ACBIAS_MD (77 | GPIO_ALT_FN_2_OUT)
#define GPIO78_nCS_2_MD (78 | GPIO_ALT_FN_2_OUT)
#define GPIO78_nCS_2_MD (78 | GPIO_ALT_FN_2_OUT)
#define GPIO79_nCS_3_MD (79 | GPIO_ALT_FN_2_OUT)
#define GPIO79_nCS_3_MD (79 | GPIO_ALT_FN_2_OUT)
#define GPIO79_pSKTSEL_MD (79 | GPIO_ALT_FN_1_OUT)
#define GPIO80_nCS_4_MD (80 | GPIO_ALT_FN_2_OUT)
#define GPIO80_nCS_4_MD (80 | GPIO_ALT_FN_2_OUT)
#define GPIO85_nPCE_1_MD (85 | GPIO_ALT_FN_1_OUT)
#define GPIO92_MMCDAT0_MD (92 | GPIO_ALT_FN_1_OUT)
#define GPIO109_MMCDAT1_MD (109 | GPIO_ALT_FN_1_OUT)
#define GPIO110_MMCDAT2_MD (110 | GPIO_ALT_FN_1_OUT)
#define GPIO110_MMCCS0_MD (110 | GPIO_ALT_FN_1_OUT)
#define GPIO111_MMCDAT3_MD (111 | GPIO_ALT_FN_1_OUT)
#define GPIO110_MMCCS1_MD (111 | GPIO_ALT_FN_1_OUT)
#define GPIO112_MMCCMD_MD (112 | GPIO_ALT_FN_1_OUT)
#define GPIO113_AC97_RESET_N_MD (113 | GPIO_ALT_FN_2_OUT)
/*
/*
...
...
include/asm-arm/arch-pxa/system.h
View file @
a2062807
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
*/
*/
#include "hardware.h"
#include "hardware.h"
#include "pxa-regs.h"
static
inline
void
arch_idle
(
void
)
static
inline
void
arch_idle
(
void
)
{
{
...
...
include/asm-arm/arch-pxa/uncompress.h
View file @
a2062807
...
@@ -25,7 +25,7 @@ static __inline__ void putc(char c)
...
@@ -25,7 +25,7 @@ static __inline__ void putc(char c)
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
putc
(
*
s
);
putc
(
*
s
);
...
...
include/asm-arm/arch-rpc/uncompress.h
View file @
a2062807
...
@@ -67,7 +67,7 @@ extern struct param_struct params_phys;
...
@@ -67,7 +67,7 @@ extern struct param_struct params_phys;
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
extern
void
ll_write_char
(
char
*
,
char
c
,
char
white
);
extern
void
ll_write_char
(
char
*
,
char
c
,
char
white
);
int
x
,
y
;
int
x
,
y
;
...
...
include/asm-arm/arch-s3c2410/nand.h
0 → 100644
View file @
a2062807
/* linux/include/asm-arm/arch-s3c2410/nand.h
*
* (c) 2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* S3C2410 - NAND device controller platfrom_device info
*
* 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
* published by the Free Software Foundation.
*
* Changelog:
* 23-Sep-2004 BJD Created file
*/
/* struct s3c2410_nand_set
*
* define an set of one or more nand chips registered with an unique mtd
*
* nr_chips = number of chips in this set
* nr_partitions = number of partitions pointed to be partitoons (or zero)
* name = name of set (optional)
* nr_map = map for low-layer logical to physical chip numbers (option)
* partitions = mtd partition list
*/
struct
s3c2410_nand_set
{
int
nr_chips
;
int
nr_partitions
;
char
*
name
;
int
*
nr_map
;
struct
mtd_partition
*
partitions
;
};
struct
s3c2410_platform_nand
{
/* timing information for controller, all times in nanoseconds */
int
tacls
;
/* time for active CLE/ALE to nWE/nOE */
int
twrph0
;
/* active time for nWE/nOE */
int
twrph1
;
/* time for release CLE/ALE from nWE/nOE inactive */
int
nr_sets
;
struct
s3c2410_nand_set
*
sets
;
void
(
*
select_chip
)(
struct
s3c2410_nand_set
*
,
int
chip
);
};
include/asm-arm/arch-s3c2410/regs-clock.h
View file @
a2062807
...
@@ -14,10 +14,9 @@
...
@@ -14,10 +14,9 @@
* 08-Aug-2004 Herbert Ptzl Added CLKCON definitions
* 08-Aug-2004 Herbert Ptzl Added CLKCON definitions
* 19-06-2003 Ben Dooks Created file
* 19-06-2003 Ben Dooks Created file
* 12-03-2004 Ben Dooks Updated include protection
* 12-03-2004 Ben Dooks Updated include protection
* 29-Sep-2004 Ben Dooks Fixed usage for assembly inclusion
*/
*/
#ifndef __ASM_ARM_REGS_CLOCK
#ifndef __ASM_ARM_REGS_CLOCK
#define __ASM_ARM_REGS_CLOCK "$Id: clock.h,v 1.4 2003/04/30 14:50:51 ben Exp $"
#define __ASM_ARM_REGS_CLOCK "$Id: clock.h,v 1.4 2003/04/30 14:50:51 ben Exp $"
...
@@ -73,6 +72,8 @@
...
@@ -73,6 +72,8 @@
#define S3C2410_CLKDIVN_PDIVN (1<<0)
#define S3C2410_CLKDIVN_PDIVN (1<<0)
#define S3C2410_CLKDIVN_HDIVN (1<<1)
#define S3C2410_CLKDIVN_HDIVN (1<<1)
#ifndef __ASSEMBLY__
static
inline
unsigned
int
static
inline
unsigned
int
s3c2410_get_pll
(
int
pllval
,
int
baseclk
)
s3c2410_get_pll
(
int
pllval
,
int
baseclk
)
{
{
...
@@ -89,6 +90,8 @@ s3c2410_get_pll(int pllval, int baseclk)
...
@@ -89,6 +90,8 @@ s3c2410_get_pll(int pllval, int baseclk)
return
(
baseclk
*
(
mdiv
+
8
))
/
((
pdiv
+
2
)
<<
sdiv
);
return
(
baseclk
*
(
mdiv
+
8
))
/
((
pdiv
+
2
)
<<
sdiv
);
}
}
#endif
/* __ASSEMBLY__ */
#ifdef CONFIG_CPU_S3C2440
#ifdef CONFIG_CPU_S3C2440
/* extra registers */
/* extra registers */
...
...
include/asm-arm/arch-s3c2410/uncompress.h
View file @
a2062807
...
@@ -100,7 +100,7 @@ putc(char ch)
...
@@ -100,7 +100,7 @@ putc(char ch)
}
}
static
void
static
void
puts
(
const
char
*
ptr
)
puts
tr
(
const
char
*
ptr
)
{
{
for
(;
*
ptr
!=
'\0'
;
ptr
++
)
{
for
(;
*
ptr
!=
'\0'
;
ptr
++
)
{
putc
(
*
ptr
);
putc
(
*
ptr
);
...
...
include/asm-arm/arch-sa1100/uncompress.h
View file @
a2062807
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#define UART(x) (*(volatile unsigned long *)(serial_port + (x)))
#define UART(x) (*(volatile unsigned long *)(serial_port + (x)))
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
unsigned
long
serial_port
;
unsigned
long
serial_port
;
...
...
include/asm-arm/arch-shark/uncompress.h
View file @
a2062807
...
@@ -21,7 +21,7 @@ static __inline__ void putc(char c)
...
@@ -21,7 +21,7 @@ static __inline__ void putc(char c)
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
putc
(
*
s
);
putc
(
*
s
);
...
...
include/asm-arm/arch-versatile/uncompress.h
View file @
a2062807
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
/*
/*
* This does not append a newline
* This does not append a newline
*/
*/
static
void
puts
(
const
char
*
s
)
static
void
puts
tr
(
const
char
*
s
)
{
{
while
(
*
s
)
{
while
(
*
s
)
{
while
(
AMBA_UART_FR
&
(
1
<<
5
))
while
(
AMBA_UART_FR
&
(
1
<<
5
))
...
...
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