ARM: keystone: cmd_ddr3: add ddr3 commands to test ddr
authorHao Zhang <hzhang@ti.com>
Wed, 22 Oct 2014 14:47:59 +0000 (17:47 +0300)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 15:27:29 +0000 (11:27 -0400)
commit26459488b70fdc40081bbff193d58be663274d51
tree09f860270bbaeb048bbaee0ffdf5b3b0131da8f5
parent89f44bb0ceda8ba6b96f16d84a0a8a014f251e6e
ARM: keystone: cmd_ddr3: add ddr3 commands to test ddr

Add ddr3 commands:

test <start_addr in hex> <end_addr in hex> - test DDR from start\n
address to end address\n
ddr compare <start_addr in hex> <end_addr in hex> <size in hex> -\n
compare DDR data of (size) bytes from start address to end
address\n
ddr ecc_err <addr in hex> <bit_err in hex> - generate bit errors\n
in DDR data at <addr>, the command will read a 32-bit data\n
from <addr>, and write (data ^ bit_err) back to <addr>\n

Delete CONFIG_MAX_UBOOT_MEM_SIZE, as it was supposed to be used
for ddr3 commands and for now it's not needed any more.

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
arch/arm/cpu/armv7/keystone/Makefile
arch/arm/cpu/armv7/keystone/cmd_ddr3.c [new file with mode: 0644]
include/configs/ks2_evm.h