Commit 67055bee25c2add9cece7ceb9967bb67df806529

Authored by Nishanth Menon
Committed by Tom Rini
1 parent 3683c3d1f7

ARM: DRA7: Change configuration to prevent DDR reset control from EMIF

DRA7/AM57xx devices can be operated in many different configurations.
When the SoC is supposed to support a configuration where low power mode
state may involve the SoC completely powered off and DDR is in self
refresh, SoC EMIF controller should not be the master of the reset
signal and an external entity might be in control of things.

The default configuration of Linux on TI evms involve not powering off
the voltage rails (due to various reasons including reliability concerns)
and must not allow DDR reset to be controlled by EMIF. On platforms
where external entity might control the reset signal, this configuration
will be a "dont care".

Fixes: 536d87470869 ("ARM: DRA7: Update DDR IO registers")
Tested-by: Keerthy <j-keerthy@ti.com>
Acked-by: Brad Griffis <bgriffis@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

arch/arm/cpu/armv7/omap5/hw_data.c
... ... @@ -602,8 +602,8 @@
602 602 .ctrl_ddrio_0 = 0x00094A40,
603 603 .ctrl_ddrio_1 = 0x04A52000,
604 604 .ctrl_ddrio_2 = 0x84210000,
605   - .ctrl_emif_sdram_config_ext = 0x0001C127,
606   - .ctrl_emif_sdram_config_ext_final = 0x0001C127,
  605 + .ctrl_emif_sdram_config_ext = 0x0001C1A7,
  606 + .ctrl_emif_sdram_config_ext_final = 0x0001C1A7,
607 607 .ctrl_ddr_ctrl_ext_0 = 0xA2000000,
608 608 };
609 609  
... ... @@ -614,8 +614,8 @@
614 614 .ctrl_ddrio_0 = 0x00094A40,
615 615 .ctrl_ddrio_1 = 0x04A52000,
616 616 .ctrl_ddrio_2 = 0x84210000,
617   - .ctrl_emif_sdram_config_ext = 0x0001C127,
618   - .ctrl_emif_sdram_config_ext_final = 0x0001C127,
  617 + .ctrl_emif_sdram_config_ext = 0x0001C1A7,
  618 + .ctrl_emif_sdram_config_ext_final = 0x0001C1A7,
619 619 .ctrl_ddr_ctrl_ext_0 = 0xA2000000,
620 620 };
621 621