diff options
author | Mathias Kresin <dev@kresin.me> | 2016-12-23 09:46:48 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-12-24 10:03:38 +0100 |
commit | a75ce960ac1b9d67af280e17e1e653b3b39def20 (patch) | |
tree | 25f7314479a3165ac565378783eba1a303645da9 /target/linux/ramips/dts | |
parent | 29f5e643ad130c138507dc767187744ad710208a (diff) | |
download | upstream-a75ce960ac1b9d67af280e17e1e653b3b39def20.tar.gz upstream-a75ce960ac1b9d67af280e17e1e653b3b39def20.tar.bz2 upstream-a75ce960ac1b9d67af280e17e1e653b3b39def20.zip |
ramips: use different board names for variants
Use different names for flash size related board variants, to make sure
that only images for the actual flash size are considered as valid by
the image validation code.
Remove the flash size suffix from the string returned by
ramips_board_detect() to ensure that existing scripts relying on the
former used boardname are still working.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/ASL26555-16M.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/ASL26555-8M.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/NIXCORE-16M.dts | 4 | ||||
-rw-r--r-- | target/linux/ramips/dts/NIXCORE-8M.dts | 4 | ||||
-rw-r--r-- | target/linux/ramips/dts/NIXCORE.dtsi | 1 | ||||
-rw-r--r-- | target/linux/ramips/dts/VOCORE-16M.dts | 4 | ||||
-rw-r--r-- | target/linux/ramips/dts/VOCORE-8M.dts | 4 | ||||
-rw-r--r-- | target/linux/ramips/dts/VOCORE.dtsi | 1 | ||||
-rw-r--r-- | target/linux/ramips/dts/WT3020-4M.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/WT3020-8M.dts | 2 |
10 files changed, 20 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/ASL26555-16M.dts b/target/linux/ramips/dts/ASL26555-16M.dts index 2887a6ef02..460fe05efa 100644 --- a/target/linux/ramips/dts/ASL26555-16M.dts +++ b/target/linux/ramips/dts/ASL26555-16M.dts @@ -6,7 +6,7 @@ / { compatible = "ASL26555", "ralink,rt3050-soc"; - model = "Alpha ASL26555"; + model = "Alpha ASL26555 (16M)"; gpio-keys-polled { compatible = "gpio-keys-polled"; diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index 5ab65938a1..288f5552a8 100644 --- a/target/linux/ramips/dts/ASL26555-8M.dts +++ b/target/linux/ramips/dts/ASL26555-8M.dts @@ -6,7 +6,7 @@ / { compatible = "ASL26555", "ralink,rt3050-soc"; - model = "Alpha ASL26555"; + model = "Alpha ASL26555 (8M)"; gpio-keys-polled { compatible = "gpio-keys-polled"; diff --git a/target/linux/ramips/dts/NIXCORE-16M.dts b/target/linux/ramips/dts/NIXCORE-16M.dts index 8f848f41af..b97c425364 100644 --- a/target/linux/ramips/dts/NIXCORE-16M.dts +++ b/target/linux/ramips/dts/NIXCORE-16M.dts @@ -2,6 +2,10 @@ #include "NIXCORE.dtsi" +/ { + model = "NixcoreX1 (16M)"; +}; + &spi0 { status = "okay"; diff --git a/target/linux/ramips/dts/NIXCORE-8M.dts b/target/linux/ramips/dts/NIXCORE-8M.dts index 66458676d3..55457d9dde 100644 --- a/target/linux/ramips/dts/NIXCORE-8M.dts +++ b/target/linux/ramips/dts/NIXCORE-8M.dts @@ -2,6 +2,10 @@ #include "NIXCORE.dtsi" +/ { + model = "NixcoreX1 (8M)"; +}; + &spi0 { status = "okay"; diff --git a/target/linux/ramips/dts/NIXCORE.dtsi b/target/linux/ramips/dts/NIXCORE.dtsi index 4c233d24ba..a827b31408 100644 --- a/target/linux/ramips/dts/NIXCORE.dtsi +++ b/target/linux/ramips/dts/NIXCORE.dtsi @@ -2,7 +2,6 @@ / { compatible = "Nixcore", "ralink,rt5350-soc"; - model = "Nixcore"; chosen { bootargs = "console=ttyS1,57600"; diff --git a/target/linux/ramips/dts/VOCORE-16M.dts b/target/linux/ramips/dts/VOCORE-16M.dts index f51c4f5407..dd10784bf1 100644 --- a/target/linux/ramips/dts/VOCORE-16M.dts +++ b/target/linux/ramips/dts/VOCORE-16M.dts @@ -2,6 +2,10 @@ #include "VOCORE.dtsi" +/ { + model = "VoCore (16M)"; +}; + &spi0 { status = "okay"; diff --git a/target/linux/ramips/dts/VOCORE-8M.dts b/target/linux/ramips/dts/VOCORE-8M.dts index 1026c865c5..e3647244f9 100644 --- a/target/linux/ramips/dts/VOCORE-8M.dts +++ b/target/linux/ramips/dts/VOCORE-8M.dts @@ -2,6 +2,10 @@ #include "VOCORE.dtsi" +/ { + model = "VoCore (8M)"; +}; + &spi0 { status = "okay"; diff --git a/target/linux/ramips/dts/VOCORE.dtsi b/target/linux/ramips/dts/VOCORE.dtsi index bb8a458831..36f784a389 100644 --- a/target/linux/ramips/dts/VOCORE.dtsi +++ b/target/linux/ramips/dts/VOCORE.dtsi @@ -2,7 +2,6 @@ / { compatible = "VoCore", "ralink,rt5350-soc"; - model = "VoCore"; gpio-export { compatible = "gpio-export"; diff --git a/target/linux/ramips/dts/WT3020-4M.dts b/target/linux/ramips/dts/WT3020-4M.dts index 368a24619c..6e40d5a869 100644 --- a/target/linux/ramips/dts/WT3020-4M.dts +++ b/target/linux/ramips/dts/WT3020-4M.dts @@ -6,7 +6,7 @@ / { compatible = "wt3020", "ralink,mt7620n-soc"; - model = "Nexx WT3020"; + model = "Nexx WT3020 (4M)"; gpio-keys-polled { compatible = "gpio-keys-polled"; diff --git a/target/linux/ramips/dts/WT3020-8M.dts b/target/linux/ramips/dts/WT3020-8M.dts index 0e15d031f5..4ef48cb14e 100644 --- a/target/linux/ramips/dts/WT3020-8M.dts +++ b/target/linux/ramips/dts/WT3020-8M.dts @@ -6,7 +6,7 @@ / { compatible = "wt3020", "ralink,mt7620n-soc"; - model = "Nexx WT3020"; + model = "Nexx WT3020 (8M)"; gpio-keys-polled { compatible = "gpio-keys-polled"; |