aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-11-17 17:42:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-11-17 17:42:35 +0000
commit0ca01f7bdc031982d135c24036f00d60988ca4ec (patch)
tree48aa155e852ad517beb2aec764b878b1abd8bfea /target/linux/ar71xx/files
parentc14bc0fadb6cd39ca9c0f1b9676034106a1fa816 (diff)
downloadmaster-187ad058-0ca01f7bdc031982d135c24036f00d60988ca4ec.tar.gz
master-187ad058-0ca01f7bdc031982d135c24036f00d60988ca4ec.tar.bz2
master-187ad058-0ca01f7bdc031982d135c24036f00d60988ca4ec.zip
[ar71xx] use MyLoader partition parser on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13265 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
index ef2ef05759..c1fe33e16a 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
@@ -31,39 +31,12 @@
#define WP543_BUTTONS_POLL_INTERVAL 20
-#ifdef CONFIG_MTD_PARTITIONS
-static struct mtd_partition wp543_partitions[] = {
- {
- .name = "myloader",
- .offset = 0,
- .size = 0x20000,
- .mask_flags = MTD_WRITEABLE,
- } , {
- .name = "kernel",
- .offset = 0x30000,
- .size = 0xd0000,
- } , {
- .name = "rootfs",
- .offset = 0x100000,
- .size = 0x100000,
- }
-};
-#endif /* CONFIG_MTD_PARTITIONS */
-
-static struct flash_platform_data wp543_flash_data = {
-#ifdef CONFIG_MTD_PARTITIONS
- .parts = wp543_partitions,
- .nr_parts = ARRAY_SIZE(wp543_partitions),
-#endif
-};
-
static struct spi_board_info wp543_spi_info[] = {
{
.bus_num = 0,
.chip_select = 0,
.max_speed_hz = 25000000,
.modalias = "m25p80",
- .platform_data = &wp543_flash_data,
}
};