Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
07198871
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
07198871
编写于
9月 18, 2009
作者:
R
Russell King
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'next-s3c-fixes' of
git://aeryn.fluff.org.uk/bjdooks/linux
上级
dca230f0
01875d56
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
34 addition
and
8 deletion
+34
-8
arch/arm/mach-s3c2410/Kconfig
arch/arm/mach-s3c2410/Kconfig
+5
-0
arch/arm/mach-s3c2412/Kconfig
arch/arm/mach-s3c2412/Kconfig
+3
-0
arch/arm/mach-s3c2440/Kconfig
arch/arm/mach-s3c2440/Kconfig
+6
-0
arch/arm/mach-s3c6400/Kconfig
arch/arm/mach-s3c6400/Kconfig
+1
-0
arch/arm/mach-s3c6410/Kconfig
arch/arm/mach-s3c6410/Kconfig
+1
-0
arch/arm/plat-s3c64xx/dma.c
arch/arm/plat-s3c64xx/dma.c
+3
-3
arch/arm/plat-s3c64xx/include/plat/dma-plat.h
arch/arm/plat-s3c64xx/include/plat/dma-plat.h
+1
-1
arch/arm/plat-s3c64xx/include/plat/irqs.h
arch/arm/plat-s3c64xx/include/plat/irqs.h
+9
-1
arch/arm/plat-s3c64xx/s3c6400-clock.c
arch/arm/plat-s3c64xx/s3c6400-clock.c
+5
-3
未找到文件。
arch/arm/mach-s3c2410/Kconfig
浏览文件 @
07198871
...
...
@@ -77,6 +77,7 @@ config ARCH_H1940
select CPU_S3C2410
select PM_H1940 if PM
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the HP IPAQ H1940
...
...
@@ -89,6 +90,7 @@ config MACH_N30
bool "Acer N30 family"
select CPU_S3C2410
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you want suppt for the Acer N30, Acer N35,
Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
...
...
@@ -103,6 +105,7 @@ config ARCH_BAST
select S3C24XX_DCLK
select ISA
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the Simtec Electronics EB2410ITX
development board (also known as BAST)
...
...
@@ -111,6 +114,7 @@ config MACH_OTOM
bool "NexVision OTOM Board"
select CPU_S3C2410
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the Nex Vision OTOM board
...
...
@@ -154,6 +158,7 @@ config MACH_QT2410
bool "QT2410"
select CPU_S3C2410
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the Armzone QT2410
...
...
arch/arm/mach-s3c2412/Kconfig
浏览文件 @
07198871
...
...
@@ -48,6 +48,7 @@ config MACH_JIVE
bool "Logitech Jive"
select CPU_S3C2412
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the Logitech Jive.
...
...
@@ -61,6 +62,7 @@ config MACH_SMDK2413
select MACH_S3C2413
select MACH_SMDK
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using an SMDK2413
...
...
@@ -84,6 +86,7 @@ config MACH_VSTMS
bool "VMSTMS"
select CPU_S3C2412
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using an VSTMS board
...
...
arch/arm/mach-s3c2440/Kconfig
浏览文件 @
07198871
...
...
@@ -48,6 +48,7 @@ config MACH_OSIRIS
select S3C2440_XTAL_12000000
select S3C2410_IOTIMING if S3C2440_CPUFREQ
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the Simtec IM2440D20 module, also
known as the Osiris.
...
...
@@ -57,6 +58,7 @@ config MACH_RX3715
select CPU_S3C2440
select S3C2440_XTAL_16934400
select PM_H1940 if PM
select S3C_DEV_NAND
help
Say Y here if you are using the HP iPAQ rx3715.
...
...
@@ -66,6 +68,7 @@ config ARCH_S3C2440
select S3C2440_XTAL_16934400
select MACH_SMDK
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the SMDK2440.
...
...
@@ -74,6 +77,7 @@ config MACH_NEXCODER_2440
select CPU_S3C2440
select S3C2440_XTAL_12000000
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
...
...
@@ -88,6 +92,7 @@ config MACH_AT2440EVB
bool "Avantech AT2440EVB development board"
select CPU_S3C2440
select S3C_DEV_USB_HOST
select S3C_DEV_NAND
help
Say Y here if you are using the AT2440EVB development board
...
...
@@ -97,6 +102,7 @@ config MACH_MINI2440
select EEPROM_AT24
select LEDS_TRIGGER_BACKLIGHT
select SND_S3C24XX_SOC_S3C24XX_UDA134X
select S3C_DEV_NAND
help
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.
...
...
arch/arm/mach-s3c6400/Kconfig
浏览文件 @
07198871
...
...
@@ -26,6 +26,7 @@ config MACH_SMDK6400
bool "SMDK6400"
select CPU_S3C6400
select S3C_DEV_HSMMC
select S3C_DEV_NAND
select S3C6400_SETUP_SDHCI
help
Machine support for the Samsung SMDK6400
arch/arm/mach-s3c6410/Kconfig
浏览文件 @
07198871
...
...
@@ -102,6 +102,7 @@ config MACH_HMT
bool "Airgoo HMT"
select CPU_S3C6410
select S3C_DEV_FB
select S3C_DEV_NAND
select S3C_DEV_USB_HOST
select S3C64XX_SETUP_FB_24BPP
select HAVE_PWM
...
...
arch/arm/plat-s3c64xx/dma.c
浏览文件 @
07198871
...
...
@@ -345,13 +345,13 @@ int s3c2410_dma_enqueue(unsigned int channel, void *id,
if
(
!
chan
)
return
-
EINVAL
;
buff
=
kzalloc
(
sizeof
(
struct
s3c64xx_dma_buff
),
GFP_
KERNEL
);
buff
=
kzalloc
(
sizeof
(
struct
s3c64xx_dma_buff
),
GFP_
ATOMIC
);
if
(
!
buff
)
{
printk
(
KERN_ERR
"%s: no memory for buffer
\n
"
,
__func__
);
return
-
ENOMEM
;
}
lli
=
dma_pool_alloc
(
dma_pool
,
GFP_
KERNEL
,
&
buff
->
lli_dma
);
lli
=
dma_pool_alloc
(
dma_pool
,
GFP_
ATOMIC
,
&
buff
->
lli_dma
);
if
(
!
lli
)
{
printk
(
KERN_ERR
"%s: no memory for lli
\n
"
,
__func__
);
ret
=
-
ENOMEM
;
...
...
@@ -697,7 +697,7 @@ static int __init s3c64xx_dma_init(void)
printk
(
KERN_INFO
"%s: Registering DMA channels
\n
"
,
__func__
);
dma_pool
=
dma_pool_create
(
"DMA-LLI"
,
NULL
,
32
,
16
,
0
);
dma_pool
=
dma_pool_create
(
"DMA-LLI"
,
NULL
,
sizeof
(
struct
pl080s_lli
)
,
16
,
0
);
if
(
!
dma_pool
)
{
printk
(
KERN_ERR
"%s: failed to create pool
\n
"
,
__func__
);
return
-
ENOMEM
;
...
...
arch/arm/plat-s3c64xx/include/plat/dma-plat.h
浏览文件 @
07198871
...
...
@@ -26,7 +26,7 @@ struct s3c64xx_dma_buff {
struct
s3c64xx_dma_buff
*
next
;
void
*
pw
;
struct
pl080_lli
*
lli
;
struct
pl080
s
_lli
*
lli
;
dma_addr_t
lli_dma
;
};
...
...
arch/arm/plat-s3c64xx/include/plat/irqs.h
浏览文件 @
07198871
...
...
@@ -194,9 +194,17 @@
#define IRQ_EINT_GROUP(group, no) (IRQ_EINT_GROUP##group##_BASE + (no))
/* Define a group of interrupts for board-specific use (eg, for MFD
* interrupt controllers). */
#define IRQ_BOARD_START (IRQ_EINT_GROUP9_BASE + IRQ_EINT_GROUP9_NR + 1)
#define IRQ_BOARD_NR 16
#define IRQ_BOARD_END (IRQ_BOARD_START + IRQ_BOARD_NR)
/* Set the default NR_IRQS */
#define NR_IRQS (IRQ_
EINT_GROUP9_BASE + IRQ_EINT_GROUP9_NR
+ 1)
#define NR_IRQS (IRQ_
BOARD_END
+ 1)
#endif
/* __ASM_PLAT_S3C64XX_IRQS_H */
arch/arm/plat-s3c64xx/s3c6400-clock.c
浏览文件 @
07198871
...
...
@@ -302,8 +302,8 @@ static int s3c64xx_setrate_clksrc(struct clk *clk, unsigned long rate)
return
-
EINVAL
;
val
=
__raw_readl
(
reg
);
val
&=
~
(
0xf
<<
sclk
->
shift
);
val
|=
(
div
-
1
)
<<
sclk
->
shift
;
val
&=
~
(
0xf
<<
sclk
->
divider_
shift
);
val
|=
(
div
-
1
)
<<
sclk
->
divider_
shift
;
__raw_writel
(
val
,
reg
);
return
0
;
...
...
@@ -328,6 +328,8 @@ static int s3c64xx_setparent_clksrc(struct clk *clk, struct clk *parent)
clksrc
|=
src_nr
<<
sclk
->
shift
;
__raw_writel
(
clksrc
,
S3C_CLK_SRC
);
clk
->
parent
=
parent
;
return
0
;
}
...
...
@@ -343,7 +345,7 @@ static unsigned long s3c64xx_roundrate_clksrc(struct clk *clk,
if
(
rate
>
parent_rate
)
rate
=
parent_rate
;
else
{
div
=
rate
/
parent_
rate
;
div
=
parent_rate
/
rate
;
if
(
div
==
0
)
div
=
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录