projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a68ad4
)
Revert "ARM: imx6: Disable DDR DRAM calibration DHCOM i.MX6 PDK"
author
Ludwig Zenz
<lzenz@dh-electronics.de>
Thu, 5 Jul 2018 07:23:46 +0000
(09:23 +0200)
committer
Stefano Babic
<sbabic@denx.de>
Mon, 23 Jul 2018 09:01:41 +0000
(11:01 +0200)
This reverts commit
a637fe6f27fd4c19ef9f43a5f871c244581422ac
.
The DDR DRAM calibration was enhanced by write leveling correction code.
It can be used with T-topology now.
Signed-off-by: Ludwig Zenz <lzenz@dh-electronics.de>
board/dhelectronics/dh_imx6/dh_imx6_spl.c
patch
|
blob
|
history
diff --git
a/board/dhelectronics/dh_imx6/dh_imx6_spl.c
b/board/dhelectronics/dh_imx6/dh_imx6_spl.c
index dffe4ebd4525b2605fde8ae50787044394076ca4..beda38955ef44288bb6d2fad2240c0edaa42f304 100644
(file)
--- a/
board/dhelectronics/dh_imx6/dh_imx6_spl.c
+++ b/
board/dhelectronics/dh_imx6/dh_imx6_spl.c
@@
-384,6
+384,10
@@
void board_init_f(ulong dummy)
&dhcom6sdl_grp_ioregs);
mx6_dram_cfg(&dhcom_ddr_info, &dhcom_mmdc_calib, &dhcom_mem_ddr);
+ /* Perform DDR DRAM calibration */
+ udelay(100);
+ mmdc_do_dqs_calibration(&dhcom_ddr_info);
+
/* Clear the BSS. */
memset(__bss_start, 0, __bss_end - __bss_start);