diff options
author | Teresa Gámez <t.gamez@phytec.de> | 2014-09-05 08:35:56 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-09 09:52:54 +0200 |
commit | f87f6c3c7ba956df746587a0d72947bb099c0d27 (patch) | |
tree | 33035a1b53c0a7e6fc66950423a7ab5d1b2274fd /arch/arm | |
parent | d31480132cd94950a2f4e7d8f0fe162751f6acef (diff) | |
download | barebox-f87f6c3c7ba956df746587a0d72947bb099c0d27.tar.gz barebox-f87f6c3c7ba956df746587a0d72947bb099c0d27.tar.xz |
ARM: phyCORE-AM335x: Update partition table
Added device tree partition and made rootfs partition
variable size depending on nand flash size.
Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/am335x-phytec-phycore.dts | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/arch/arm/dts/am335x-phytec-phycore.dts b/arch/arm/dts/am335x-phytec-phycore.dts index 16febd3a59..e7e7780826 100644 --- a/arch/arm/dts/am335x-phytec-phycore.dts +++ b/arch/arm/dts/am335x-phytec-phycore.dts @@ -194,8 +194,13 @@ }; partition@3 { + label = "oftree"; + reg = <0xc0000 0x20000>; + }; + + partition@4 { label = "kernel"; - reg = <0xc0000 0x400000>; + reg = <0xe0000 0x400000>; }; }; }; @@ -305,13 +310,22 @@ }; partition@6 { - label = "kernel"; - reg = <0x120000 0x800000>; + label = "oftree"; + reg = <0x120000 0x20000>; }; partition@7 { + label = "kernel"; + reg = <0x140000 0x800000>; + }; + + partition@8 { label = "root"; - reg = <0x920000 0x1f6e0000>; + /* + * Size 0x0 extends partition to + * end of nand flash. + */ + reg = <0x940000 0x0>; }; }; }; |