diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-15 14:29:53 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-25 14:30:57 +0200 |
commit | b9cf1f60811730a54c918d1118725e88e29e0950 (patch) | |
tree | 9c42bbee8b600478e90f5b09fe7fb38921b2cd1b /target | |
parent | f30d5884606e5b6a612ea13f78e5b6e9b9c0714c (diff) | |
download | upstream-b9cf1f60811730a54c918d1118725e88e29e0950.tar.gz upstream-b9cf1f60811730a54c918d1118725e88e29e0950.tar.bz2 upstream-b9cf1f60811730a54c918d1118725e88e29e0950.zip |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/dts/rt3050_allnet_all0256n-4m.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/rt3050_tenda_w150m.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/rt3052_unbranded_wr512-3gn-4m.dts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/rt3050_allnet_all0256n-4m.dts b/target/linux/ramips/dts/rt3050_allnet_all0256n-4m.dts index 3c152040fa..4f1504befa 100644 --- a/target/linux/ramips/dts/rt3050_allnet_all0256n-4m.dts +++ b/target/linux/ramips/dts/rt3050_allnet_all0256n-4m.dts @@ -41,7 +41,7 @@ partition@50000 { compatible = "denx,uimage"; label = "firmware"; - reg = <0x50000 0x3c8000>; + reg = <0x50000 0x3b0000>; }; }; }; diff --git a/target/linux/ramips/dts/rt3050_tenda_w150m.dts b/target/linux/ramips/dts/rt3050_tenda_w150m.dts index e128580ec8..e6a2c4ab17 100644 --- a/target/linux/ramips/dts/rt3050_tenda_w150m.dts +++ b/target/linux/ramips/dts/rt3050_tenda_w150m.dts @@ -48,7 +48,7 @@ partition@50000 { compatible = "denx,uimage"; label = "firmware"; - reg = <0x50000 0x3c8000>; + reg = <0x50000 0x3b0000>; }; }; }; diff --git a/target/linux/ramips/dts/rt3052_unbranded_wr512-3gn-4m.dts b/target/linux/ramips/dts/rt3052_unbranded_wr512-3gn-4m.dts index 12476d238c..ae8e6b8b45 100644 --- a/target/linux/ramips/dts/rt3052_unbranded_wr512-3gn-4m.dts +++ b/target/linux/ramips/dts/rt3052_unbranded_wr512-3gn-4m.dts @@ -38,7 +38,7 @@ partition@50000 { compatible = "denx,uimage"; label = "firmware"; - reg = <0x50000 0x3c8000>; + reg = <0x50000 0x3b0000>; }; }; }; |