ramips/rt305x: fix firmware partition size for some 4MB devices
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 15 Jul 2019 12:29:53 +0000 (14:29 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 25 Jul 2019 12:30:57 +0000 (14:30 +0200)
commitb9cf1f60811730a54c918d1118725e88e29e0950
tree9c42bbee8b600478e90f5b09fe7fb38921b2cd1b
parentf30d5884606e5b6a612ea13f78e5b6e9b9c0714c
ramips/rt305x: fix firmware partition size for some 4MB devices

allnet_all0256n-4m, tenda_w150m and unbranded_wr512-3gn-4m have
their firmware partition set to reg = <0x50000 0x3c8000>.

However, based on the 4MB flash, the size should be 0x3b0000.

After some research in the target's history, it looks like the
changed size has been a mistake when transferring device
partitions from Makefile to DTS in 770b28f146f.

This patch changes the named three devices back to 0x3b0000.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/rt3050_allnet_all0256n-4m.dts
target/linux/ramips/dts/rt3050_tenda_w150m.dts
target/linux/ramips/dts/rt3052_unbranded_wr512-3gn-4m.dts