]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-linux/u-boot.git/commit
k2e: fix get_ddr_seg_num function K2_UBOOT_2013_01_15.07
authorVitaly Andrianov <vitalya@ti.com>
Wed, 8 Jul 2015 14:45:43 +0000 (10:45 -0400)
committerVitaly Andrianov <vitalya@ti.com>
Wed, 8 Jul 2015 14:45:43 +0000 (10:45 -0400)
commite074c73a9c040609602451a1701d0a01b65d2492
tree4f16ebe606a14511cdf787f67df307a1ed4726e5
parent0756d2b413fc89fb1b59c51bd0bbb1780955cc5b
k2e: fix get_ddr_seg_num function

The get_ddr_seg_num() has to return the number of 4KB segments of the
entire DDR3 memory installed to the board. Instead it returned the constant
number of segments for the default 2GB SODIMM. That causes that not entire
DDR3 memory is erased during ECC initialization.

This patch fixes the issue.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
board/ti/ks2_evm/ddr3_k2e.c