author | Vitaly Andrianov <vitalya@ti.com> | |
Wed, 8 Jul 2015 14:45:43 +0000 (10:45 -0400) | ||
committer | Vitaly Andrianov <vitalya@ti.com> | |
Wed, 8 Jul 2015 14:45:43 +0000 (10:45 -0400) | ||
commit | e074c73a9c040609602451a1701d0a01b65d2492 | |
tree | 4f16ebe606a14511cdf787f67df307a1ed4726e5 | tree | snapshot (tar.xz tar.gz zip) |
parent | 0756d2b413fc89fb1b59c51bd0bbb1780955cc5b | commit | diff |
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>
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 | diff | blob | history |