ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 2 Oct 2018 13:20:35 +0000 (16:20 +0300)
committerLudovic Desroches <ludovic.desroches@microchip.com>
Wed, 3 Oct 2018 08:26:57 +0000 (10:26 +0200)
The offsets for the bootloader environment and its redundant partition
were inverted. Fix the addresses to match our nand flash map available at:

http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts

index b10dccd..bb08f83 100644 (file)
                                                        reg = <0x40000 0xc0000>;
                                                };
 
-                                               bootloaderenv@0x100000 {
-                                                       label = "bootloader env";
+                                               bootloaderenvred@0x100000 {
+                                                       label = "bootloader env redundant";
                                                        reg = <0x100000 0x40000>;
                                                };
 
-                                               bootloaderenvred@0x140000 {
-                                                       label = "bootloader env redundant";
+                                               bootloaderenv@0x140000 {
+                                                       label = "bootloader env";
                                                        reg = <0x140000 0x40000>;
                                                };