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
158304ef
Commit
158304ef
authored
May 12, 2007
by
Russell King
Committed by
Russell King
May 12, 2007
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes' into devel
parents
641e7912
25f4a81e
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
115 additions
and
55 deletions
+115
-55
arch/arm/Kconfig
arch/arm/Kconfig
+0
-1
arch/arm/kernel/armksyms.c
arch/arm/kernel/armksyms.c
+1
-0
arch/arm/kernel/stacktrace.c
arch/arm/kernel/stacktrace.c
+3
-9
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/Makefile
+1
-0
arch/arm/mach-at91/board-sam9261ek.c
arch/arm/mach-at91/board-sam9261ek.c
+3
-0
arch/arm/mach-ebsa110/io.c
arch/arm/mach-ebsa110/io.c
+4
-4
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h2.c
+1
-1
arch/arm/mach-omap1/pm.c
arch/arm/mach-omap1/pm.c
+1
-10
arch/arm/mach-omap2/mux.c
arch/arm/mach-omap2/mux.c
+31
-2
arch/arm/plat-omap/dma.c
arch/arm/plat-omap/dma.c
+2
-2
arch/arm/plat-omap/mux.c
arch/arm/plat-omap/mux.c
+15
-4
include/asm-arm/arch-at91/hardware.h
include/asm-arm/arch-at91/hardware.h
+0
-17
include/asm-arm/arch-at91/io.h
include/asm-arm/arch-at91/io.h
+18
-0
include/asm-arm/arch-at91/irqs.h
include/asm-arm/arch-at91/irqs.h
+1
-0
include/asm-arm/arch-at91/uncompress.h
include/asm-arm/arch-at91/uncompress.h
+1
-1
include/asm-arm/arch-iop13xx/io.h
include/asm-arm/arch-iop13xx/io.h
+1
-1
include/asm-arm/arch-iop32x/io.h
include/asm-arm/arch-iop32x/io.h
+1
-1
include/asm-arm/arch-iop33x/io.h
include/asm-arm/arch-iop33x/io.h
+1
-1
include/asm-arm/arch-omap/mux.h
include/asm-arm/arch-omap/mux.h
+30
-1
No files found.
arch/arm/Kconfig
View file @
158304ef
...
@@ -357,7 +357,6 @@ config ARCH_SA1100
...
@@ -357,7 +357,6 @@ config ARCH_SA1100
config ARCH_S3C2410
config ARCH_S3C2410
bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442, S3C2443"
bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442, S3C2443"
select GENERIC_GPIO
select GENERIC_GPIO
select GENERIC_TIME
help
help
Samsung S3C2410X CPU based systems, such as the Simtec Electronics
Samsung S3C2410X CPU based systems, such as the Simtec Electronics
BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
...
...
arch/arm/kernel/armksyms.c
View file @
158304ef
...
@@ -76,6 +76,7 @@ EXPORT_SYMBOL(__const_udelay);
...
@@ -76,6 +76,7 @@ EXPORT_SYMBOL(__const_udelay);
/* networking */
/* networking */
EXPORT_SYMBOL
(
csum_partial
);
EXPORT_SYMBOL
(
csum_partial
);
EXPORT_SYMBOL
(
csum_partial_copy_from_user
);
EXPORT_SYMBOL
(
csum_partial_copy_nocheck
);
EXPORT_SYMBOL
(
csum_partial_copy_nocheck
);
EXPORT_SYMBOL
(
__csum_ipv6_magic
);
EXPORT_SYMBOL
(
__csum_ipv6_magic
);
...
...
arch/arm/kernel/stacktrace.c
View file @
158304ef
...
@@ -52,21 +52,15 @@ static int save_trace(struct stackframe *frame, void *d)
...
@@ -52,21 +52,15 @@ static int save_trace(struct stackframe *frame, void *d)
return
trace
->
nr_entries
>=
trace
->
max_entries
;
return
trace
->
nr_entries
>=
trace
->
max_entries
;
}
}
void
save_stack_trace
(
struct
stack_trace
*
trace
,
struct
task_struct
*
task
)
void
save_stack_trace
(
struct
stack_trace
*
trace
)
{
{
struct
stack_trace_data
data
;
struct
stack_trace_data
data
;
unsigned
long
fp
,
base
;
unsigned
long
fp
,
base
;
data
.
trace
=
trace
;
data
.
trace
=
trace
;
data
.
skip
=
trace
->
skip
;
data
.
skip
=
trace
->
skip
;
if
(
task
)
{
base
=
(
unsigned
long
)
task_stack_page
(
task
);
fp
=
0
;
/* FIXME */
}
else
{
base
=
(
unsigned
long
)
task_stack_page
(
current
);
base
=
(
unsigned
long
)
task_stack_page
(
current
);
asm
(
"mov %0, fp"
:
"=r"
(
fp
));
asm
(
"mov %0, fp"
:
"=r"
(
fp
));
}
walk_stackframe
(
fp
,
base
,
base
+
THREAD_SIZE
,
save_trace
,
&
data
);
walk_stackframe
(
fp
,
base
,
base
+
THREAD_SIZE
,
save_trace
,
&
data
);
}
}
...
...
arch/arm/mach-at91/Makefile
View file @
158304ef
...
@@ -43,6 +43,7 @@ obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o
...
@@ -43,6 +43,7 @@ obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o
# LEDs support
# LEDs support
led-$(CONFIG_ARCH_AT91RM9200DK)
+=
leds.o
led-$(CONFIG_ARCH_AT91RM9200DK)
+=
leds.o
led-$(CONFIG_MACH_AT91RM9200EK)
+=
leds.o
led-$(CONFIG_MACH_AT91RM9200EK)
+=
leds.o
led-$(CONFIG_MACH_AT91SAM9261EK)
+=
leds.o
led-$(CONFIG_MACH_CSB337)
+=
leds.o
led-$(CONFIG_MACH_CSB337)
+=
leds.o
led-$(CONFIG_MACH_CSB637)
+=
leds.o
led-$(CONFIG_MACH_CSB637)
+=
leds.o
led-$(CONFIG_MACH_KB9200)
+=
leds.o
led-$(CONFIG_MACH_KB9200)
+=
leds.o
...
...
arch/arm/mach-at91/board-sam9261ek.c
View file @
158304ef
...
@@ -60,6 +60,9 @@ static void __init ek_map_io(void)
...
@@ -60,6 +60,9 @@ static void __init ek_map_io(void)
/* Initialize processor: 18.432 MHz crystal */
/* Initialize processor: 18.432 MHz crystal */
at91sam9261_initialize
(
18432000
);
at91sam9261_initialize
(
18432000
);
/* Setup the LEDs */
at91_init_leds
(
AT91_PIN_PA13
,
AT91_PIN_PA14
);
/* Setup the serial ports and console */
/* Setup the serial ports and console */
at91_init_serial
(
&
ek_uart_config
);
at91_init_serial
(
&
ek_uart_config
);
}
}
...
...
arch/arm/mach-ebsa110/io.c
View file @
158304ef
...
@@ -102,7 +102,7 @@ EXPORT_SYMBOL(__readb);
...
@@ -102,7 +102,7 @@ EXPORT_SYMBOL(__readb);
EXPORT_SYMBOL
(
__readw
);
EXPORT_SYMBOL
(
__readw
);
EXPORT_SYMBOL
(
__readl
);
EXPORT_SYMBOL
(
__readl
);
void
readsw
(
void
__iomem
*
addr
,
void
*
data
,
int
len
)
void
readsw
(
const
void
__iomem
*
addr
,
void
*
data
,
int
len
)
{
{
void
__iomem
*
a
=
__isamem_convert_addr
(
addr
);
void
__iomem
*
a
=
__isamem_convert_addr
(
addr
);
...
@@ -112,7 +112,7 @@ void readsw(void __iomem *addr, void *data, int len)
...
@@ -112,7 +112,7 @@ void readsw(void __iomem *addr, void *data, int len)
}
}
EXPORT_SYMBOL
(
readsw
);
EXPORT_SYMBOL
(
readsw
);
void
readsl
(
void
__iomem
*
addr
,
void
*
data
,
int
len
)
void
readsl
(
const
void
__iomem
*
addr
,
void
*
data
,
int
len
)
{
{
void
__iomem
*
a
=
__isamem_convert_addr
(
addr
);
void
__iomem
*
a
=
__isamem_convert_addr
(
addr
);
...
@@ -157,7 +157,7 @@ EXPORT_SYMBOL(__writeb);
...
@@ -157,7 +157,7 @@ EXPORT_SYMBOL(__writeb);
EXPORT_SYMBOL
(
__writew
);
EXPORT_SYMBOL
(
__writew
);
EXPORT_SYMBOL
(
__writel
);
EXPORT_SYMBOL
(
__writel
);
void
writesw
(
void
__iomem
*
addr
,
void
*
data
,
int
len
)
void
writesw
(
void
__iomem
*
addr
,
const
void
*
data
,
int
len
)
{
{
void
__iomem
*
a
=
__isamem_convert_addr
(
addr
);
void
__iomem
*
a
=
__isamem_convert_addr
(
addr
);
...
@@ -167,7 +167,7 @@ void writesw(void __iomem *addr, void *data, int len)
...
@@ -167,7 +167,7 @@ void writesw(void __iomem *addr, void *data, int len)
}
}
EXPORT_SYMBOL
(
writesw
);
EXPORT_SYMBOL
(
writesw
);
void
writesl
(
void
__iomem
*
addr
,
void
*
data
,
int
len
)
void
writesl
(
void
__iomem
*
addr
,
const
void
*
data
,
int
len
)
{
{
void
__iomem
*
a
=
__isamem_convert_addr
(
addr
);
void
__iomem
*
a
=
__isamem_convert_addr
(
addr
);
...
...
arch/arm/mach-omap1/board-h2.c
View file @
158304ef
...
@@ -326,7 +326,7 @@ static struct omap_lcd_config h2_lcd_config __initdata = {
...
@@ -326,7 +326,7 @@ static struct omap_lcd_config h2_lcd_config __initdata = {
.
ctrl_name
=
"internal"
,
.
ctrl_name
=
"internal"
,
};
};
static
struct
omap_board_config_kernel
h2_config
[]
=
{
static
struct
omap_board_config_kernel
h2_config
[]
__initdata
=
{
{
OMAP_TAG_USB
,
&
h2_usb_config
},
{
OMAP_TAG_USB
,
&
h2_usb_config
},
{
OMAP_TAG_MMC
,
&
h2_mmc_config
},
{
OMAP_TAG_MMC
,
&
h2_mmc_config
},
{
OMAP_TAG_UART
,
&
h2_uart_config
},
{
OMAP_TAG_UART
,
&
h2_uart_config
},
...
...
arch/arm/mach-omap1/pm.c
View file @
158304ef
//kernel/linux-omap-fsample/arch/arm/mach-omap1/pm.c#3 - integrate change 4545 (text)
/*
/*
* linux/arch/arm/mach-omap1/pm.c
* linux/arch/arm/mach-omap1/pm.c
*
*
...
@@ -631,10 +630,6 @@ static int omap_pm_prepare(suspend_state_t state)
...
@@ -631,10 +630,6 @@ static int omap_pm_prepare(suspend_state_t state)
case
PM_SUSPEND_STANDBY
:
case
PM_SUSPEND_STANDBY
:
case
PM_SUSPEND_MEM
:
case
PM_SUSPEND_MEM
:
break
;
break
;
case
PM_SUSPEND_DISK
:
return
-
ENOTSUPP
;
default:
default:
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
@@ -657,10 +652,6 @@ static int omap_pm_enter(suspend_state_t state)
...
@@ -657,10 +652,6 @@ static int omap_pm_enter(suspend_state_t state)
case
PM_SUSPEND_MEM
:
case
PM_SUSPEND_MEM
:
omap_pm_suspend
();
omap_pm_suspend
();
break
;
break
;
case
PM_SUSPEND_DISK
:
return
-
ENOTSUPP
;
default:
default:
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
...
arch/arm/mach-omap2/mux.c
View file @
158304ef
...
@@ -43,7 +43,7 @@ struct pin_config __initdata_or_module omap24xx_pins[] = {
...
@@ -43,7 +43,7 @@ struct pin_config __initdata_or_module omap24xx_pins[] = {
/* 24xx I2C */
/* 24xx I2C */
MUX_CFG_24XX
(
"M19_24XX_I2C1_SCL"
,
0x111
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"M19_24XX_I2C1_SCL"
,
0x111
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"L15_24XX_I2C1_SDA"
,
0x112
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"L15_24XX_I2C1_SDA"
,
0x112
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"J15_24XX_I2C2_SCL"
,
0x113
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"J15_24XX_I2C2_SCL"
,
0x113
,
0
,
0
,
1
,
1
)
MUX_CFG_24XX
(
"H19_24XX_I2C2_SDA"
,
0x114
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"H19_24XX_I2C2_SDA"
,
0x114
,
0
,
0
,
0
,
1
)
/* Menelaus interrupt */
/* Menelaus interrupt */
...
@@ -52,7 +52,9 @@ MUX_CFG_24XX("W19_24XX_SYS_NIRQ", 0x12c, 0, 1, 1, 1)
...
@@ -52,7 +52,9 @@ MUX_CFG_24XX("W19_24XX_SYS_NIRQ", 0x12c, 0, 1, 1, 1)
/* 24xx clocks */
/* 24xx clocks */
MUX_CFG_24XX
(
"W14_24XX_SYS_CLKOUT"
,
0x137
,
0
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"W14_24XX_SYS_CLKOUT"
,
0x137
,
0
,
1
,
1
,
1
)
/* 24xx GPMC wait pin monitoring */
/* 24xx GPMC chipselects, wait pin monitoring */
MUX_CFG_24XX
(
"E2_GPMC_NCS2"
,
0x08e
,
0
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"L2_GPMC_NCS7"
,
0x093
,
0
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"L3_GPMC_WAIT0"
,
0x09a
,
0
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"L3_GPMC_WAIT0"
,
0x09a
,
0
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"N7_GPMC_WAIT1"
,
0x09b
,
0
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"N7_GPMC_WAIT1"
,
0x09b
,
0
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"M1_GPMC_WAIT2"
,
0x09c
,
0
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"M1_GPMC_WAIT2"
,
0x09c
,
0
,
1
,
1
,
1
)
...
@@ -66,6 +68,7 @@ MUX_CFG_24XX("V15_24XX_MCBSP2_DX", 0x127, 1, 1, 0, 1)
...
@@ -66,6 +68,7 @@ MUX_CFG_24XX("V15_24XX_MCBSP2_DX", 0x127, 1, 1, 0, 1)
/* 24xx GPIO */
/* 24xx GPIO */
MUX_CFG_24XX
(
"M21_242X_GPIO11"
,
0x0c9
,
3
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"M21_242X_GPIO11"
,
0x0c9
,
3
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"P21_242X_GPIO12"
,
0x0ca
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA10_242X_GPIO13"
,
0x0e5
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA10_242X_GPIO13"
,
0x0e5
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA6_242X_GPIO14"
,
0x0e6
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA6_242X_GPIO14"
,
0x0e6
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA4_242X_GPIO15"
,
0x0e7
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA4_242X_GPIO15"
,
0x0e7
,
3
,
0
,
0
,
1
)
...
@@ -75,7 +78,9 @@ MUX_CFG_24XX("AA8_242X_GPIO58", 0x0ea, 3, 0, 0, 1)
...
@@ -75,7 +78,9 @@ MUX_CFG_24XX("AA8_242X_GPIO58", 0x0ea, 3, 0, 0, 1)
MUX_CFG_24XX
(
"Y20_24XX_GPIO60"
,
0x12c
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"Y20_24XX_GPIO60"
,
0x12c
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"W4__24XX_GPIO74"
,
0x0f2
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"W4__24XX_GPIO74"
,
0x0f2
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"M15_24XX_GPIO92"
,
0x10a
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"M15_24XX_GPIO92"
,
0x10a
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"J15_24XX_GPIO99"
,
0x113
,
3
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"V14_24XX_GPIO117"
,
0x128
,
3
,
1
,
0
,
1
)
MUX_CFG_24XX
(
"V14_24XX_GPIO117"
,
0x128
,
3
,
1
,
0
,
1
)
MUX_CFG_24XX
(
"P14_24XX_GPIO125"
,
0x140
,
3
,
1
,
1
,
1
)
/* 242x DBG GPIO */
/* 242x DBG GPIO */
MUX_CFG_24XX
(
"V4_242X_GPIO49"
,
0xd3
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"V4_242X_GPIO49"
,
0xd3
,
3
,
0
,
0
,
1
)
...
@@ -118,6 +123,30 @@ MUX_CFG_24XX("E18_24XX_MMC_DAT_DIR3", 0x0fc, 0, 0, 0, 1)
...
@@ -118,6 +123,30 @@ MUX_CFG_24XX("E18_24XX_MMC_DAT_DIR3", 0x0fc, 0, 0, 0, 1)
MUX_CFG_24XX
(
"G18_24XX_MMC_CMD_DIR"
,
0x0fd
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"G18_24XX_MMC_CMD_DIR"
,
0x0fd
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"H15_24XX_MMC_CLKI"
,
0x0fe
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"H15_24XX_MMC_CLKI"
,
0x0fe
,
0
,
0
,
0
,
1
)
/* Full speed USB */
MUX_CFG_24XX
(
"J20_24XX_USB0_PUEN"
,
0x11d
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"J19_24XX_USB0_VP"
,
0x11e
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"K20_24XX_USB0_VM"
,
0x11f
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"J18_24XX_USB0_RCV"
,
0x120
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"K19_24XX_USB0_TXEN"
,
0x121
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"J14_24XX_USB0_SE0"
,
0x122
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"K18_24XX_USB0_DAT"
,
0x123
,
0
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"N14_24XX_USB1_SE0"
,
0x0ed
,
2
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"W12_24XX_USB1_SE0"
,
0x0dd
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"P15_24XX_USB1_DAT"
,
0x0ee
,
2
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"R13_24XX_USB1_DAT"
,
0x0e0
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"W20_24XX_USB1_TXEN"
,
0x0ec
,
2
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"P13_24XX_USB1_TXEN"
,
0x0df
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"V19_24XX_USB1_RCV"
,
0x0eb
,
2
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"V12_24XX_USB1_RCV"
,
0x0de
,
3
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA10_24XX_USB2_SE0"
,
0x0e5
,
2
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"Y11_24XX_USB2_DAT"
,
0x0e8
,
2
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA12_24XX_USB2_TXEN"
,
0x0e9
,
2
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA6_24XX_USB2_RCV"
,
0x0e6
,
2
,
0
,
0
,
1
)
MUX_CFG_24XX
(
"AA4_24XX_USB2_TLLSE0"
,
0x0e7
,
2
,
0
,
0
,
1
)
/* Keypad GPIO*/
/* Keypad GPIO*/
MUX_CFG_24XX
(
"T19_24XX_KBR0"
,
0x106
,
3
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"T19_24XX_KBR0"
,
0x106
,
3
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"R19_24XX_KBR1"
,
0x107
,
3
,
1
,
1
,
1
)
MUX_CFG_24XX
(
"R19_24XX_KBR1"
,
0x107
,
3
,
1
,
1
,
1
)
...
...
arch/arm/plat-omap/dma.c
View file @
158304ef
...
@@ -747,7 +747,7 @@ int omap_set_dma_callback(int lch,
...
@@ -747,7 +747,7 @@ int omap_set_dma_callback(int lch,
*/
*/
dma_addr_t
omap_get_dma_src_pos
(
int
lch
)
dma_addr_t
omap_get_dma_src_pos
(
int
lch
)
{
{
dma_addr_t
offset
;
dma_addr_t
offset
=
0
;
if
(
cpu_class_is_omap1
())
if
(
cpu_class_is_omap1
())
offset
=
(
dma_addr_t
)
(
OMAP1_DMA_CSSA_L_REG
(
lch
)
|
offset
=
(
dma_addr_t
)
(
OMAP1_DMA_CSSA_L_REG
(
lch
)
|
...
@@ -769,7 +769,7 @@ dma_addr_t omap_get_dma_src_pos(int lch)
...
@@ -769,7 +769,7 @@ dma_addr_t omap_get_dma_src_pos(int lch)
*/
*/
dma_addr_t
omap_get_dma_dst_pos
(
int
lch
)
dma_addr_t
omap_get_dma_dst_pos
(
int
lch
)
{
{
dma_addr_t
offset
;
dma_addr_t
offset
=
0
;
if
(
cpu_class_is_omap1
())
if
(
cpu_class_is_omap1
())
offset
=
(
dma_addr_t
)
(
OMAP1_DMA_CDSA_L_REG
(
lch
)
|
offset
=
(
dma_addr_t
)
(
OMAP1_DMA_CDSA_L_REG
(
lch
)
|
...
...
arch/arm/plat-omap/mux.c
View file @
158304ef
...
@@ -83,10 +83,21 @@ int __init_or_module omap_cfg_reg(const unsigned long index)
...
@@ -83,10 +83,21 @@ int __init_or_module omap_cfg_reg(const unsigned long index)
reg
|=
OMAP24XX_PULL_ENA
;
reg
|=
OMAP24XX_PULL_ENA
;
if
(
cfg
->
pu_pd_val
)
if
(
cfg
->
pu_pd_val
)
reg
|=
OMAP24XX_PULL_UP
;
reg
|=
OMAP24XX_PULL_UP
;
#if defined(CONFIG_OMAP_MUX_DEBUG) || defined(CONFIG_OMAP_MUX_WARNINGS)
{
u8
orig
=
omap_readb
(
OMAP24XX_L4_BASE
+
cfg
->
mux_reg
);
u8
debug
=
0
;
#ifdef CONFIG_OMAP_MUX_DEBUG
#ifdef CONFIG_OMAP_MUX_DEBUG
printk
(
"Muxing %s (0x%08x): 0x%02x -> 0x%02x
\n
"
,
debug
=
cfg
->
debug
;
cfg
->
name
,
OMAP24XX_L4_BASE
+
cfg
->
mux_reg
,
#endif
omap_readb
(
OMAP24XX_L4_BASE
+
cfg
->
mux_reg
),
reg
);
warn
=
(
orig
!=
reg
);
if
(
debug
||
warn
)
printk
(
"MUX: setup %s (0x%08x): 0x%02x -> 0x%02x
\n
"
,
cfg
->
name
,
OMAP24XX_L4_BASE
+
cfg
->
mux_reg
,
orig
,
reg
);
}
#endif
#endif
omap_writeb
(
reg
,
OMAP24XX_L4_BASE
+
cfg
->
mux_reg
);
omap_writeb
(
reg
,
OMAP24XX_L4_BASE
+
cfg
->
mux_reg
);
...
...
include/asm-arm/arch-at91/hardware.h
View file @
158304ef
...
@@ -71,22 +71,5 @@
...
@@ -71,22 +71,5 @@
/* Clocks */
/* Clocks */
#define AT91_SLOW_CLOCK 32768
/* slow clock */
#define AT91_SLOW_CLOCK 32768
/* slow clock */
#ifndef __ASSEMBLY__
#include <asm/io.h>
static
inline
unsigned
int
at91_sys_read
(
unsigned
int
reg_offset
)
{
void
__iomem
*
addr
=
(
void
__iomem
*
)
AT91_VA_BASE_SYS
;
return
__raw_readl
(
addr
+
reg_offset
);
}
static
inline
void
at91_sys_write
(
unsigned
int
reg_offset
,
unsigned
long
value
)
{
void
__iomem
*
addr
=
(
void
__iomem
*
)
AT91_VA_BASE_SYS
;
__raw_writel
(
value
,
addr
+
reg_offset
);
}
#endif
#endif
#endif
include/asm-arm/arch-at91/io.h
View file @
158304ef
...
@@ -29,4 +29,22 @@
...
@@ -29,4 +29,22 @@
#define __mem_pci(a) (a)
#define __mem_pci(a) (a)
#ifndef __ASSEMBLY__
static
inline
unsigned
int
at91_sys_read
(
unsigned
int
reg_offset
)
{
void
__iomem
*
addr
=
(
void
__iomem
*
)
AT91_VA_BASE_SYS
;
return
__raw_readl
(
addr
+
reg_offset
);
}
static
inline
void
at91_sys_write
(
unsigned
int
reg_offset
,
unsigned
long
value
)
{
void
__iomem
*
addr
=
(
void
__iomem
*
)
AT91_VA_BASE_SYS
;
__raw_writel
(
value
,
addr
+
reg_offset
);
}
#endif
#endif
#endif
include/asm-arm/arch-at91/irqs.h
View file @
158304ef
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#ifndef __ASM_ARCH_IRQS_H
#ifndef __ASM_ARCH_IRQS_H
#define __ASM_ARCH_IRQS_H
#define __ASM_ARCH_IRQS_H
#include <asm/io.h>
#include <asm/arch/at91_aic.h>
#include <asm/arch/at91_aic.h>
#define NR_AIC_IRQS 32
#define NR_AIC_IRQS 32
...
...
include/asm-arm/arch-at91/uncompress.h
View file @
158304ef
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#ifndef __ASM_ARCH_UNCOMPRESS_H
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H
#include <asm/
hardware
.h>
#include <asm/
io
.h>
#include <asm/arch/at91_dbgu.h>
#include <asm/arch/at91_dbgu.h>
/*
/*
...
...
include/asm-arm/arch-iop13xx/io.h
View file @
158304ef
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
extern
void
__iomem
*
__iop13xx_io
(
unsigned
long
io_addr
);
extern
void
__iomem
*
__iop13xx_io
(
unsigned
long
io_addr
);
extern
void
__iomem
*
__iop13xx_ioremap
(
unsigned
long
cookie
,
size_t
size
,
extern
void
__iomem
*
__iop13xx_ioremap
(
unsigned
long
cookie
,
size_t
size
,
unsigned
long
flags
);
unsigned
int
mtype
);
extern
void
__iop13xx_iounmap
(
void
__iomem
*
addr
);
extern
void
__iop13xx_iounmap
(
void
__iomem
*
addr
);
extern
u32
iop13xx_atue_mem_base
;
extern
u32
iop13xx_atue_mem_base
;
...
...
include/asm-arm/arch-iop32x/io.h
View file @
158304ef
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
extern
void
__iomem
*
__iop3xx_ioremap
(
unsigned
long
cookie
,
size_t
size
,
extern
void
__iomem
*
__iop3xx_ioremap
(
unsigned
long
cookie
,
size_t
size
,
unsigned
long
flags
);
unsigned
int
mtype
);
extern
void
__iop3xx_iounmap
(
void
__iomem
*
addr
);
extern
void
__iop3xx_iounmap
(
void
__iomem
*
addr
);
#define IO_SPACE_LIMIT 0xffffffff
#define IO_SPACE_LIMIT 0xffffffff
...
...
include/asm-arm/arch-iop33x/io.h
View file @
158304ef
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
#include <asm/hardware.h>
#include <asm/hardware.h>
extern
void
__iomem
*
__iop3xx_ioremap
(
unsigned
long
cookie
,
size_t
size
,
extern
void
__iomem
*
__iop3xx_ioremap
(
unsigned
long
cookie
,
size_t
size
,
unsigned
long
flags
);
unsigned
int
mtype
);
extern
void
__iop3xx_iounmap
(
void
__iomem
*
addr
);
extern
void
__iop3xx_iounmap
(
void
__iomem
*
addr
);
#define IO_SPACE_LIMIT 0xffffffff
#define IO_SPACE_LIMIT 0xffffffff
...
...
include/asm-arm/arch-omap/mux.h
View file @
158304ef
...
@@ -421,7 +421,9 @@ enum omap24xx_index {
...
@@ -421,7 +421,9 @@ enum omap24xx_index {
/* 24xx clock */
/* 24xx clock */
W14_24XX_SYS_CLKOUT
,
W14_24XX_SYS_CLKOUT
,
/* 24xx GPMC wait pin monitoring */
/* 24xx GPMC chipselects, wait pin monitoring */
E2_GPMC_NCS2
,
L2_GPMC_NCS7
,
L3_GPMC_WAIT0
,
L3_GPMC_WAIT0
,
N7_GPMC_WAIT1
,
N7_GPMC_WAIT1
,
M1_GPMC_WAIT2
,
M1_GPMC_WAIT2
,
...
@@ -435,6 +437,7 @@ enum omap24xx_index {
...
@@ -435,6 +437,7 @@ enum omap24xx_index {
/* 24xx GPIO */
/* 24xx GPIO */
M21_242X_GPIO11
,
M21_242X_GPIO11
,
P21_242X_GPIO12
,
AA10_242X_GPIO13
,
AA10_242X_GPIO13
,
AA6_242X_GPIO14
,
AA6_242X_GPIO14
,
AA4_242X_GPIO15
,
AA4_242X_GPIO15
,
...
@@ -444,7 +447,9 @@ enum omap24xx_index {
...
@@ -444,7 +447,9 @@ enum omap24xx_index {
Y20_24XX_GPIO60
,
Y20_24XX_GPIO60
,
W4__24XX_GPIO74
,
W4__24XX_GPIO74
,
M15_24XX_GPIO92
,
M15_24XX_GPIO92
,
J15_24XX_GPIO99
,
V14_24XX_GPIO117
,
V14_24XX_GPIO117
,
P14_24XX_GPIO125
,
/* 242x DBG GPIO */
/* 242x DBG GPIO */
V4_242X_GPIO49
,
V4_242X_GPIO49
,
...
@@ -486,6 +491,30 @@ enum omap24xx_index {
...
@@ -486,6 +491,30 @@ enum omap24xx_index {
G18_24XX_MMC_CMD_DIR
,
G18_24XX_MMC_CMD_DIR
,
H15_24XX_MMC_CLKI
,
H15_24XX_MMC_CLKI
,
/* Full speed USB */
J20_24XX_USB0_PUEN
,
J19_24XX_USB0_VP
,
K20_24XX_USB0_VM
,
J18_24XX_USB0_RCV
,
K19_24XX_USB0_TXEN
,
J14_24XX_USB0_SE0
,
K18_24XX_USB0_DAT
,
N14_24XX_USB1_SE0
,
W12_24XX_USB1_SE0
,
P15_24XX_USB1_DAT
,
R13_24XX_USB1_DAT
,
W20_24XX_USB1_TXEN
,
P13_24XX_USB1_TXEN
,
V19_24XX_USB1_RCV
,
V12_24XX_USB1_RCV
,
AA10_24XX_USB2_SE0
,
Y11_24XX_USB2_DAT
,
AA12_24XX_USB2_TXEN
,
AA6_24XX_USB2_RCV
,
AA4_24XX_USB2_TLLSE0
,
/* Keypad GPIO*/
/* Keypad GPIO*/
T19_24XX_KBR0
,
T19_24XX_KBR0
,
R19_24XX_KBR1
,
R19_24XX_KBR1
,
...
...
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