Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 // Copyright (c) 2018 Facebook Inc.
0003 
0004 partitions {
0005         compatible = "fixed-partitions";
0006         #address-cells = <1>;
0007         #size-cells = <1>;
0008 
0009         u-boot@0 {
0010                 reg = <0x0 0x60000>;
0011                 label = "u-boot";
0012         };
0013 
0014         u-boot-env@60000 {
0015                 reg = <0x60000 0x20000>;
0016                 label = "env";
0017         };
0018 
0019         fit@80000 {
0020                 reg = <0x80000 0x1b80000>;
0021                 label = "fit";
0022         };
0023 
0024         /*
0025          * "data0" partition is used by several Facebook BMC platforms
0026          * as persistent data store.
0027          */
0028         data0@1c00000 {
0029                 reg = <0x1c00000 0x400000>;
0030                 label = "data0";
0031         };
0032 
0033         /*
0034          * Although the master partition can be created by enabling
0035          * MTD_PARTITIONED_MASTER option, below "flash0" partition is
0036          * explicitly created to avoid breaking legacy applications.
0037          */
0038         flash0@0 {
0039                 reg = <0x0 0x2000000>;
0040                 label = "flash0";
0041         };
0042 };