board: ks2: Enable ECC using detected DDR size
authorLokesh Vutla <lokeshvutla@ti.com>
Sat, 27 Aug 2016 11:49:15 +0000 (17:19 +0530)
committerTom Rini <trini@konsulko.com>
Sun, 2 Oct 2016 00:05:05 +0000 (20:05 -0400)
commite92a6b2ee372d003602d71df427ec369be645cb6
tree47b66b4d08228296a54da36bf2a01f52bccb4923
parent6f6c8630942b6d60735c2c728d9f476de0290f9e
board: ks2: Enable ECC using detected DDR size

EEC is being enabled based on the ddr size populated by SPD data.
But not all keystone platforms have SPD data to detect ddr3 size.
So, enable ECC using the detected DDR size.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/ks2_evm/board.c