commit | 53e005910595c5a2974c0361caaa4183f21ce3a3 | [log] [tgz] |
---|---|---|
author | Steve Kipisz <s-kipisz2@ti.com> | Fri Mar 08 07:40:58 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Fri Mar 22 11:12:53 2013 -0400 |
tree | 81105e92c234be3141e32a5f950a7f29a6743b4d | |
parent | 02bb11fa89823fe2c7ccd8c31783d17b85526733 [diff] |
am33xx:ddr:Fix config_sdram to work for all DDR The original write to sdram_config is correct for DDR3 but incorrect for DDR2 so SPL was hanging. For DDR2, the write to sdram_config should be after the writes to ref_ctrl. This was working for DDR3 because there was a write of 0x2800 to ref_ctrl before a write to sdram_config. Tested on: GP EVM 1.1A (DDR2), GP EVM 1.5A (DDR3), Beaglebone A6 (DDR2), Beagleone Blacd A4A (DDR3) Signed-off-by: Steve Kipisz <s-kipisz2@ti.com>