Skip to content

Commit ed13ec7

Browse files
committed
Revert "HACK (do not mainline): ARM: at91/dt: Extend HSMC regs range"
This reverts commit 3aa3ad2. Saving and restoring the SMC regs and suspend and resume is not needed, because in atmel_nand_controller_resume() we call nand_reset(), which calls nand_setup_interface(), which calls ops->setup_interface(), which prepares and writes the SMC registers (smcconf). Tested on sama5d3_xplained with mtd_pagetest, after a suspend and a resume cycle: mtd_pagetest: finished with 0 errors Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
1 parent 7b562ba commit ed13ec7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/arm/boot/dts/sama5d3.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,7 @@
456456
pmecc: ecc-engine@ffffc070 {
457457
compatible = "atmel,at91sam9g45-pmecc";
458458
reg = <0xffffc070 0x490>,
459-
<0xffffc500 0x100>,
460-
<0xffffc63c 0x14>; /* SMC timing regs */
459+
<0xffffc500 0x100>;
461460
};
462461
};
463462

0 commit comments

Comments
 (0)