ar71xx: tl-wpa8630: Use dynamic parsing of the firmware partition
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-tl-wpa8630.c
index acdd7c3bb9dd910e3ab22cfc6e3083a399da09ca..0a1e6b4d91283d5bfec0cc8479af344530705c31 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 = {