Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274004
b: refs/heads/master
c: cf1dad9
h: refs/heads/master
v: v3
  • Loading branch information
Tushar Behera authored and Kukjin Kim committed Oct 2, 2011
1 parent 624ddd8 commit 1063113
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92e41efd73918d28ad48a937489e6f2a02140057
refs/heads/master: cf1dad9d7f14ddf555baa0fcc82d17d5f29d3ae2
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-exynos4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ config MACH_ORIGEN
select CPU_EXYNOS4210
select S3C_DEV_RTC
select S3C_DEV_WDT
select S3C_DEV_HSMMC
select S3C_DEV_HSMMC2
select S5P_DEV_FIMC0
select S5P_DEV_FIMC1
Expand Down
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-exynos4/mach-origen.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ static struct s3c2410_uartcfg origen_uartcfgs[] __initdata = {
},
};

static struct s3c_sdhci_platdata origen_hsmmc0_pdata __initdata = {
.cd_type = S3C_SDHCI_CD_INTERNAL,
.clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
};

static struct s3c_sdhci_platdata origen_hsmmc2_pdata __initdata = {
.cd_type = S3C_SDHCI_CD_INTERNAL,
.clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
Expand All @@ -94,6 +99,7 @@ static void __init origen_ehci_init(void)

static struct platform_device *origen_devices[] __initdata = {
&s3c_device_hsmmc2,
&s3c_device_hsmmc0,
&s3c_device_rtc,
&s3c_device_wdt,
&s5p_device_ehci,
Expand Down Expand Up @@ -123,7 +129,12 @@ static void __init origen_map_io(void)

static void __init origen_machine_init(void)
{
/*
* Since sdhci instance 2 can contain a bootable media,
* sdhci instance 0 is registered after instance 2.
*/
s3c_sdhci2_set_platdata(&origen_hsmmc2_pdata);
s3c_sdhci0_set_platdata(&origen_hsmmc0_pdata);

origen_ehci_init();
clk_xusbxti.rate = 24000000;
Expand Down

0 comments on commit 1063113

Please sign in to comment.