From 53bad16e009d4951ef48f7d0f6971a22e6aa3887 Mon Sep 17 00:00:00 2001 From: Teresa Remmet Date: Wed, 29 Jun 2016 12:01:08 +0200 Subject: ARM: phytec-som-am335x: Add backup partition for barebox Add a redundant barebox partition to improve nand safety at least a little bit. Signed-off-by: Teresa Remmet Signed-off-by: Sascha Hauer --- arch/arm/dts/am335x-phytec-phycard-som.dtsi | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'arch/arm/dts/am335x-phytec-phycard-som.dtsi') diff --git a/arch/arm/dts/am335x-phytec-phycard-som.dtsi b/arch/arm/dts/am335x-phytec-phycard-som.dtsi index f052f0cc3a..3dd9cade43 100644 --- a/arch/arm/dts/am335x-phytec-phycard-som.dtsi +++ b/arch/arm/dts/am335x-phytec-phycard-som.dtsi @@ -206,23 +206,32 @@ }; partition@100000 { + label = "barebox_backup"; + reg = <0x100000 0x80000>; + }; + + partition@180000 { label = "bareboxenv"; - reg = <0x100000 0x40000>; + reg = <0x180000 0x40000>; }; - partition@140000 { + partition@1C0000 { label = "oftree"; - reg = <0x140000 0x40000>; + reg = <0x1C0000 0x40000>; }; - partition@180000 { + partition@200000 { label = "kernel"; - reg = <0x180000 0x800000>; + reg = <0x200000 0x800000>; }; - partition@980000 { + partition@A00000 { label = "root"; - reg = <0x980000 0x0>; + /* + * Size 0x0 extends partition to + * end of nand flash. + */ + reg = <0xA00000 0x0>; }; }; }; -- cgit v1.2.3