|
|
@@ -90,39 +90,39 @@
|
|
|
};
|
|
|
|
|
|
&spi0 {
|
|
|
- status = "okay";
|
|
|
- flash@0 {
|
|
|
- compatible = "jedec,spi-nor";
|
|
|
- reg = <0>;
|
|
|
- spi-max-frequency = <10000000>;
|
|
|
-
|
|
|
- partitions {
|
|
|
- compatible = "fixed-partitions";
|
|
|
- #address-cells = <1>;
|
|
|
- #size-cells = <1>;
|
|
|
-
|
|
|
- partition@0 {
|
|
|
- label = "u-boot";
|
|
|
- reg = <0x0 0xe0000>;
|
|
|
+ status = "okay";
|
|
|
+ flash@0 {
|
|
|
+ compatible = "jedec,spi-nor";
|
|
|
+ reg = <0>;
|
|
|
+ spi-max-frequency = <10000000>;
|
|
|
+
|
|
|
+ partitions {
|
|
|
+ compatible = "fixed-partitions";
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
+
|
|
|
+ partition@0 {
|
|
|
+ label = "u-boot";
|
|
|
+ reg = <0x0 0xe0000>;
|
|
|
read-only;
|
|
|
- };
|
|
|
- partition@e0000 {
|
|
|
- label = "u-boot-env";
|
|
|
- reg = <0xe0000 0x10000>;
|
|
|
- };
|
|
|
- partition@f0000 {
|
|
|
- label = "u-boot-env2";
|
|
|
- reg = <0xf0000 0x10000>;
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
+ };
|
|
|
+ partition@e0000 {
|
|
|
+ label = "u-boot-env";
|
|
|
+ reg = <0xe0000 0x10000>;
|
|
|
+ };
|
|
|
+ partition@f0000 {
|
|
|
+ label = "u-boot-env2";
|
|
|
+ reg = <0xf0000 0x10000>;
|
|
|
+ };
|
|
|
+ };
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
&snand {
|
|
|
- status = "okay";
|
|
|
- flash@0 {
|
|
|
- compatible = "spi-nand";
|
|
|
- reg = <0>;
|
|
|
+ status = "okay";
|
|
|
+ flash@0 {
|
|
|
+ compatible = "spi-nand";
|
|
|
+ reg = <0>;
|
|
|
|
|
|
nand-ecc-engine = <&ecc0>;
|
|
|
nand-ecc-strength = <6>;
|
|
|
@@ -158,5 +158,5 @@
|
|
|
reg = <0x7300000 0x900000>;
|
|
|
};
|
|
|
};
|
|
|
- };
|
|
|
+ };
|
|
|
};
|