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 | mtk-20170518-a75ce960ac1b9d67af280e17e1e653b3b39def20.zip mtk-20170518-a75ce960ac1b9d67af280e17e1e653b3b39def20.tar.gz mtk-20170518-a75ce960ac1b9d67af280e17e1e653b3b39def20.tar.bz2 |
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 2887a6e..460fe05 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 5ab6593..288f555 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 8f848f4..b97c425 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 6645867..55457d9 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 4c233d2..a827b31 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 f51c4f5..dd10784 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 1026c86..e364724 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 bb8a458..36f784a 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 368a246..6e40d5a 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 0e15d03..4ef48cb 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"; |