Certain modules are not affected by means of a warm reset and need not be configured again. Adding an API to detect a warm reset.
Emif is one such module that need not be configured after warm reset. All the registers are retained.So, skipping DDR init after warm reset. Freq_update is done to make sure timing registers are configured for appropriate frequency. This is tested on omap4430 sdp. Boot tested on omap5430uevm and omap5432sevm. Patch 3 is taking care of Errata:i727 Lokesh Vutla (3): ARM: OMAP3+: Detect reset type OMAP4+: Handle sdram init after warm reset OMAP4+: Force DDR in self-refresh after warm reset arch/arm/cpu/armv7/omap-common/emif-common.c | 31 ++++++++++++++++++++--- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 4 +++ arch/arm/cpu/armv7/omap-common/reset.c | 5 ++++ arch/arm/include/asm/arch-am33xx/cpu.h | 2 + arch/arm/include/asm/arch-omap3/cpu.h | 2 + arch/arm/include/asm/arch-omap3/sys_proto.h | 1 + arch/arm/include/asm/arch-omap4/cpu.h | 2 + arch/arm/include/asm/arch-omap4/sys_proto.h | 2 + arch/arm/include/asm/arch-omap5/cpu.h | 2 + arch/arm/include/asm/arch-omap5/sys_proto.h | 2 + 10 files changed, 49 insertions(+), 4 deletions(-) -- 1.7.5.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot