summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/luasrc
diff options
context:
space:
mode:
authorRussell Morris <rmorris@rkmorris.us>2020-09-30 19:49:53 -0500
committerRussell Morris <rmorris@rkmorris.us>2020-10-03 09:44:40 -0500
commit2d39b9c76ce44469733341b1868b7d00d6f21c25 (patch)
tree4272080e44e7819efe47769b854d0b7b06e13d41 /applications/luci-app-advanced-reboot/luasrc
parentb60ea0b8bf5721e908530d376802b84958deef76 (diff)
Add Advanced Reboot support for Linksys EA7300 v2
Signed-off-by: Russell Morris <rmorris@rkmorris.us>
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc')
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua
new file mode 100644
index 000000000..6de9641a6
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300.lua
@@ -0,0 +1,14 @@
+return {
+ vendorName = "Linksys",
+ deviceName = "EA7300v2",
+ boardNames = { "linksys,ea7300-v2" },
+ partition1MTD = "mtd5",
+ partition2MTD = "mtd7",
+ labelOffset = 32,
+ bootEnv1 = "boot_part",
+ bootEnv1Partition1Value = 1,
+ bootEnv1Partition2Value = 2,
+ bootEnv2 = nil,
+ bootEnv2Partition1Value = nil,
+ bootEnv2Partition2Value = nil
+}