2
0
forked from Ivasoft/openwrt

lantiq: move partitions into partion table node

Starting with kernel 4.4, the use of partitions as direct subnodes of the
mtd device is discouraged and only supported for backward compatiblity
reasons.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 49280
This commit is contained in:
blogic
2016-05-02 18:50:18 +00:00
committed by Jo-Philipp Wich
parent b695ce2999
commit b7fc892eb5
42 changed files with 1144 additions and 897 deletions

View File

@@ -38,26 +38,32 @@
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
read-only;
};
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@40000 {
label = "uboot_env";
reg = <0x40000 0x20000>;
};
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
read-only;
};
partition@60000 {
label = "firmware";
reg = <0x60000 0xf80000>;
};
partition@40000 {
label = "uboot_env";
reg = <0x40000 0x20000>;
};
partition@fe0000 {
label = "board_config";
reg = <0xfe0000 0x20000>;
read-only;
partition@60000 {
label = "firmware";
reg = <0x60000 0xf80000>;
};
partition@fe0000 {
label = "board_config";
reg = <0xfe0000 0x20000>;
read-only;
};
};
};