mirror of https://github.com/hak5/openwrt.git
ath79: Add missing read-only properties
Add some read-only properties to protect partitions from accidental changes. Also fixed two whitespaces error on the way. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>openwrt-19.07
parent
4582fe7c14
commit
d8ec6dee49
|
@ -30,9 +30,9 @@
|
|||
};
|
||||
|
||||
&usb_phy {
|
||||
status = "okay";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -118,6 +118,7 @@
|
|||
art: partition@50000 {
|
||||
label = "art";
|
||||
reg = <0x050000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@60000 {
|
||||
|
|
|
@ -99,6 +99,7 @@
|
|||
art: partition@3 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -108,6 +108,7 @@
|
|||
art: partition@50000 {
|
||||
label = "art";
|
||||
reg = <0x050000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@60000 {
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
art: partition@50000 {
|
||||
label = "art";
|
||||
reg = <0x050000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@60000 {
|
||||
|
|
|
@ -39,16 +39,19 @@
|
|||
info: info@f40000 {
|
||||
label = "info";
|
||||
reg = <0xf40000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
config: config@f60000 {
|
||||
label = "config";
|
||||
reg = <0xf60000 0x050000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@fc0000 {
|
||||
label = "partition-table";
|
||||
reg = <0xfc0000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
art: art@ff0000 {
|
||||
|
|
|
@ -124,6 +124,7 @@
|
|||
partition@20000 {
|
||||
label = "uboot";
|
||||
reg = <0x020000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
partition@40000 {
|
||||
label = "partition-table";
|
||||
reg = <0x040000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
art: partition@50000 {
|
||||
|
@ -44,11 +45,13 @@
|
|||
info: partition@60000 {
|
||||
label = "info";
|
||||
reg = <0x060000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@80000 {
|
||||
label = "user-config";
|
||||
reg = <0x080000 0x040000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@c0000 {
|
||||
|
@ -60,5 +63,6 @@
|
|||
partition@ff0000 {
|
||||
label = "default-config";
|
||||
reg = <0xff0000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue