diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 01:46:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 01:46:28 -0400 |
commit | 6f3cafce0ed24372084b5648c9e8a6aacbaf9900 (patch) | |
tree | a20de49dbad477a608d1df3ce19f3eeb68417585 /arch/arm/mach-ixp23xx/espresso.c | |
parent | 0c97f524fc16004602f97ba19c36acdcc0fb9688 (diff) | |
parent | 02916526133aebc0b3b6c486d1b0af95221033bd (diff) |
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (21 commits)
[ARM] 3629/1: S3C24XX: fix missing bracket in regs-dsc.h
[ARM] 3537/1: Rework DMA-bounce locking for finer granularity
[ARM] 3601/1: i.MX/MX1 DMA error handling for signaled channels only
[ARM] 3597/1: ixp4xx/nslu2: Board support for new LED subsystem
[ARM] 3595/1: ixp4xx/nas100d: Board support for new LED subsystem
[ARM] 3626/1: ARM EABI: fix syscall restarting
[ARM] 3628/1: S3C24XX: add get_rate call to struct clk
[ARM] 3627/1: S3C24XX: split s3c2410 clocks from core clocks
[ARM] 3613/1: S3C2410: Add sysdev and sysclass
[ARM] 3624/1: Report true modem control line states
[ARM] 3620/2: ixp23xx: add uengine loader support
[ARM] 3618/1: add defconfig for logicpd pxa270 card engine
[ARM] 3617/1: ep93xx: fix slightly incorrect timer tick rate
[ARM] 3616/1: fix timer handler wrap logic for a number of platforms
[ARM] 3615/1: ixp23xx: use platform devices for physmap flash
[ARM] 3614/1: ep93xx: use platform devices for physmap flash
[ARM] 3621/1: fix compilation breakage for pnx4008
[ARM] 3623/1: pnx4008: move GPIO-related defines to gpio.h
[ARM] 3622/1: pnx4008: remove clk_use/clk_unuse
[ARM] Enable VFP to be built when non-VFP capable CPUs are selected
...
Diffstat (limited to 'arch/arm/mach-ixp23xx/espresso.c')
-rw-r--r-- | arch/arm/mach-ixp23xx/espresso.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp23xx/espresso.c b/arch/arm/mach-ixp23xx/espresso.c index bf688c128630..dc5e489c70bc 100644 --- a/arch/arm/mach-ixp23xx/espresso.c +++ b/arch/arm/mach-ixp23xx/espresso.c | |||
@@ -53,9 +53,29 @@ static int __init espresso_pci_init(void) | |||
53 | }; | 53 | }; |
54 | subsys_initcall(espresso_pci_init); | 54 | subsys_initcall(espresso_pci_init); |
55 | 55 | ||
56 | static struct physmap_flash_data espresso_flash_data = { | ||
57 | .width = 2, | ||
58 | }; | ||
59 | |||
60 | static struct resource espresso_flash_resource = { | ||
61 | .start = 0x90000000, | ||
62 | .end = 0x92000000, | ||
63 | .flags = IORESOURCE_MEM, | ||
64 | }; | ||
65 | |||
66 | static struct platform_device espresso_flash = { | ||
67 | .name = "physmap-flash", | ||
68 | .id = 0, | ||
69 | .dev = { | ||
70 | .platform_data = &espresso_flash_data, | ||
71 | }, | ||
72 | .num_resources = 1, | ||
73 | .resource = &espresso_flash_resource, | ||
74 | }; | ||
75 | |||
56 | static void __init espresso_init(void) | 76 | static void __init espresso_init(void) |
57 | { | 77 | { |
58 | physmap_configure(0x90000000, 0x02000000, 2, NULL); | 78 | platform_device_register(&espresso_flash); |
59 | 79 | ||
60 | /* | 80 | /* |
61 | * Mark flash as writeable. | 81 | * Mark flash as writeable. |