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>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
/ {
|
||||
compatible = "ASL26555", "ralink,rt3050-soc";
|
||||
model = "Alpha ASL26555";
|
||||
model = "Alpha ASL26555 (16M)";
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
/ {
|
||||
compatible = "ASL26555", "ralink,rt3050-soc";
|
||||
model = "Alpha ASL26555";
|
||||
model = "Alpha ASL26555 (8M)";
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
#include "NIXCORE.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NixcoreX1 (16M)";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
#include "NIXCORE.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NixcoreX1 (8M)";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
/ {
|
||||
compatible = "Nixcore", "ralink,rt5350-soc";
|
||||
model = "Nixcore";
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS1,57600";
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
#include "VOCORE.dtsi"
|
||||
|
||||
/ {
|
||||
model = "VoCore (16M)";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
#include "VOCORE.dtsi"
|
||||
|
||||
/ {
|
||||
model = "VoCore (8M)";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
/ {
|
||||
compatible = "VoCore", "ralink,rt5350-soc";
|
||||
model = "VoCore";
|
||||
|
||||
gpio-export {
|
||||
compatible = "gpio-export";
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
/ {
|
||||
compatible = "wt3020", "ralink,mt7620n-soc";
|
||||
model = "Nexx WT3020";
|
||||
model = "Nexx WT3020 (4M)";
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
/ {
|
||||
compatible = "wt3020", "ralink,mt7620n-soc";
|
||||
model = "Nexx WT3020";
|
||||
model = "Nexx WT3020 (8M)";
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
|
||||
Reference in New Issue
Block a user