History

ARM: OMAP2+: sleep43xx: Run EMIF HW leveling on resume path

When returning from DeepSleep mode on AM437x platforms the EMIF must run DDR hardware leveling, same as done during u-boot, to properly restore the EMIF PHY to it's operational state on platforms using DDR3. Call the ti-emif-sram-pm run_hw_leveling routine to perform this. This happens after all other EMIF values are restored so the exact same configuration used at boot is used at the end of EMIF resume as well.

Dave Gerlach committed 7 years ago

Commit 11140cc1 parent 6c110561 file · +3 −0Browse files

Unified · Split

arch/arm/mach-omap2/sleep43xx.S+3−0
@@ -368,6 +368,9 @@ wait_emif_enable1: · 367 unmodified lines
368368 mov r1, #AM43XX_EMIF_POWEROFF_DISABLE
369369 str r1, [r2, #0x0]
370370
371+ ldr r1, [r9, #EMIF_PM_RUN_HW_LEVELING]
372+ blx r1
373+
371374 #ifdef CONFIG_CACHE_L2X0
372375 ldr r2, l2_cache_base
373376 ldr r0, [r2, #L2X0_CTRL]

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t