aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-19 19:45:18 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-19 19:45:18 +0000
commit227a2dac21e3c0f36e9d7d8eb36f1f0735757bb4 (patch)
tree672a01c4f262545b6481f92cf82e3c53e58cca0d /target
parente211af7433de01efa03d6770a87214ad837246b6 (diff)
downloadopenwrt-227a2dac21e3c0f36e9d7d8eb36f1f0735757bb4.tar.gz
openwrt-227a2dac21e3c0f36e9d7d8eb36f1f0735757bb4.zip
AA: ar71xx: rw2458n - fix flash parts
Backport of r33867. See #12338. Redwave rw2458 has uboot, not redboot. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c
index 28d9de4f3..b4a014f48 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c
@@ -60,22 +60,13 @@ static struct gpio_led rw2458n_leds_gpio[] __initdata = {
}
};
-static const char *rw2458n_part_probes[] = {
- "RedBoot",
- NULL,
-};
-
-static struct flash_platform_data rw2458n_flash_data = {
- .part_probes = rw2458n_part_probes,
-};
-
static void __init rw2458n_setup(void)
{
u8 *mac1 = (u8 *) KSEG1ADDR(0x1fff0000);
u8 *mac2 = (u8 *) KSEG1ADDR(0x1fff0000 + ETH_ALEN);
u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
- ath79_register_m25p80(&rw2458n_flash_data);
+ ath79_register_m25p80(NULL);
ath79_register_mdio(0, ~RW2458N_WAN_PHYMASK);