ar71xx: Add support for D-Link DAP-1330 a1
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-tl-wpa8630.c
index acdd7c3bb9dd910e3ab22cfc6e3083a399da09ca..73b563d31372f716d0f5180ef12d9501e569d2b1 100644 (file)
 #define TL_WPA8630_WMAC_CALDATA_OFFSET 0x1000
 #define TL_WPA8630_PCI_CALDATA_OFFSET  0x5000
 
+static const char *tl_wpa8630_part_probes[] = {
+       "tp-link-64k",
+       NULL,
+};
+
 static struct flash_platform_data tl_wpa8630_flash_data = {
-       .type = "s25fl064k",
+       .part_probes    = tl_wpa8630_part_probes,
+       .type           = "s25fl064k",
 };
 
 static struct gpio_led tl_wpa8630_leds_gpio[] __initdata = {
@@ -162,5 +168,5 @@ static void __init tl_wpa8630_setup(void)
                                        tl_wpa8630_gpio_keys);
 }
 
-MIPS_MACHINE(ATH79_MACH_TL_WPA8630, "TL-WPA8630", "TP-Link TL-WPA8630",
+MIPS_MACHINE(ATH79_MACH_TL_WPA8630, "TL-WPA8630", "TP-LINK TL-WPA8630",
        tl_wpa8630_setup);