ath79: ubnt-xm: make u-boot-env partition read-only
This partition isn't normally modified during boot process. Make it read-only to prevent accidental overwrite. If needed this can be overriden with installing kmod-mtd-rw; the same way as for installing modified U-boot. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
committed by
Adrian Schmutzler
parent
71b2b32f98
commit
7d93473eff
@@ -43,6 +43,7 @@
|
|||||||
partition@40000 {
|
partition@40000 {
|
||||||
label = "u-boot-env";
|
label = "u-boot-env";
|
||||||
reg = <0x040000 0x010000>;
|
reg = <0x040000 0x010000>;
|
||||||
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
partition@50000 {
|
partition@50000 {
|
||||||
|
|||||||
Reference in New Issue
Block a user