Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56697
b: refs/heads/master
c: 69e9c93
h: refs/heads/master
i:
  56695: 3c92b5c
v: v3
  • Loading branch information
Ben Dooks authored and Russell King committed May 20, 2007
1 parent 2e180d7 commit 7b8cbb2
Show file tree
Hide file tree
Showing 4 changed files with 33 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: 42482e3c77bcb310affdf13e92b93f077d44a7fc
refs/heads/master: 69e9c93d0d7d9dfa6bdf5144274dbe65a627b63a
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-s3c2443/mach-smdk2443.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ static struct s3c2410_uartcfg smdk2443_uartcfgs[] __initdata = {
static struct platform_device *smdk2443_devices[] __initdata = {
&s3c_device_wdt,
&s3c_device_i2c,
&s3c_device_hsmmc,
};

static void __init smdk2443_map_io(void)
Expand Down
30 changes: 30 additions & 0 deletions trunk/arch/arm/plat-s3c24xx/devs.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,36 @@ struct platform_device s3c_device_sdi = {

EXPORT_SYMBOL(s3c_device_sdi);

/* High-speed MMC/SD */

static struct resource s3c_hsmmc_resource[] = {
[0] = {
.start = S3C2443_PA_HSMMC,
.end = S3C2443_PA_HSMMC + S3C2443_SZ_HSMMC - 1,
.flags = IORESOURCE_MEM,
},
[1] = {
.start = IRQ_S3C2443_HSMMC,
.end = IRQ_S3C2443_HSMMC,
.flags = IORESOURCE_IRQ,
}
};

static u64 s3c_device_hsmmc_dmamask = 0xffffffffUL;

struct platform_device s3c_device_hsmmc = {
.name = "s3c-sdhci",
.id = -1,
.num_resources = ARRAY_SIZE(s3c_hsmmc_resource),
.resource = s3c_hsmmc_resource,
.dev = {
.dma_mask = &s3c_device_hsmmc_dmamask,
.coherent_dma_mask = 0xffffffffUL
}
};



/* SPI (0) */

static struct resource s3c_spi0_resource[] = {
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-arm/plat-s3c24xx/devs.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ extern struct platform_device s3c_device_iis;
extern struct platform_device s3c_device_rtc;
extern struct platform_device s3c_device_adc;
extern struct platform_device s3c_device_sdi;
extern struct platform_device s3c_device_hsmmc;

extern struct platform_device s3c_device_spi0;
extern struct platform_device s3c_device_spi1;
Expand Down

0 comments on commit 7b8cbb2

Please sign in to comment.