Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
b24636cf
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
b24636cf
编写于
11月 03, 2008
作者:
B
Ben Dooks
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ARM] SMDK6410: Add availability of second hsmmc channel
Add SDHCI channel 1. Signed-off-by:
N
Ben Dooks
<
ben-linux@fluff.org
>
上级
4f507d19
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
35 addition
and
1 deletion
+35
-1
arch/arm/mach-s3c6410/Kconfig
arch/arm/mach-s3c6410/Kconfig
+30
-0
arch/arm/mach-s3c6410/mach-smdk6410.c
arch/arm/mach-s3c6410/mach-smdk6410.c
+5
-1
未找到文件。
arch/arm/mach-s3c6410/Kconfig
浏览文件 @
b24636cf
...
@@ -23,8 +23,38 @@ config MACH_SMDK6410
...
@@ -23,8 +23,38 @@ config MACH_SMDK6410
bool "SMDK6410"
bool "SMDK6410"
select CPU_S3C6410
select CPU_S3C6410
select S3C_DEV_HSMMC
select S3C_DEV_HSMMC
select S3C_DEV_HSMMC1
select S3C_DEV_I2C1
select S3C_DEV_I2C1
select S3C6410_SETUP_SDHCI
select S3C6410_SETUP_SDHCI
select S3C64XX_SETUP_I2C1
select S3C64XX_SETUP_I2C1
help
help
Machine support for the Samsung SMDK6410
Machine support for the Samsung SMDK6410
# At least some of the SMDK6410s were shipped with the card detect
# for the MMC/SD slots connected to the same input. This means that
# either the boards need to be altered to have channel0 to an alternate
# configuration or that only one slot can be used.
choice
prompt "SMDK6410 MMC/SD slot setup"
depends on MACH_SMDK6410
config SMDK6410_SD_CH0
bool "Use channel 0 only"
depends on MACH_SMDK6410
help
Select CON7 (channel 0) as the MMC/SD slot, as
at least some SMDK6410 boards come with the
resistors fitted so that the card detects for
channels 0 and 1 are the same.
config SMDK6410_SD_CH1
bool "Use channel 1 only"
depends on MACH_SMDK6410
help
Select CON6 (channel 1) as the MMC/SD slot, as
at least some SMDK6410 boards come with the
resistors fitted so that the card detects for
channels 0 and 1 are the same.
endchoice
arch/arm/mach-s3c6410/mach-smdk6410.c
浏览文件 @
b24636cf
...
@@ -64,12 +64,16 @@ static struct s3c2410_uartcfg smdk6410_uartcfgs[] __initdata = {
...
@@ -64,12 +64,16 @@ static struct s3c2410_uartcfg smdk6410_uartcfgs[] __initdata = {
struct
map_desc
smdk6410_iodesc
[]
=
{};
struct
map_desc
smdk6410_iodesc
[]
=
{};
static
struct
platform_device
*
smdk6410_devices
[]
__initdata
=
{
static
struct
platform_device
*
smdk6410_devices
[]
__initdata
=
{
#ifdef CONFIG_SMDK6410_SD_CH0
&
s3c_device_hsmmc0
,
&
s3c_device_hsmmc0
,
#endif
#ifdef CONFIG_SMDK6410_SD_CH1
&
s3c_device_hsmmc1
,
#endif
&
s3c_device_i2c0
,
&
s3c_device_i2c0
,
&
s3c_device_i2c1
,
&
s3c_device_i2c1
,
};
};
static
struct
i2c_board_info
i2c_devs0
[]
__initdata
=
{
static
struct
i2c_board_info
i2c_devs0
[]
__initdata
=
{
{
I2C_BOARD_INFO
(
"24c08"
,
0x50
),
},
{
I2C_BOARD_INFO
(
"24c08"
,
0x50
),
},
{
I2C_BOARD_INFO
(
"WM8580"
,
0X1b
),
},
{
I2C_BOARD_INFO
(
"WM8580"
,
0X1b
),
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录