cmd: ti: Generalize cmd_ddr3 command

Keystone and DRA7 based TI platforms uses same
EMIF memory controller. cmd_ddr3 command is customized
for keystone platforms, make it generic so that it can
be re used for DRA7  platforms.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
Lokesh Vutla
2017-12-29 11:47:50 +05:30
committed by Tom Rini
parent 5cd9661dc6
commit 8a8af8a2fd
3 changed files with 123 additions and 30 deletions

View File

@@ -17,7 +17,9 @@
#include <asm/io.h>
/* Base address */
#ifndef EMIF1_BASE
#define EMIF1_BASE 0x4c000000
#endif
#define EMIF2_BASE 0x4d000000
#define EMIF_4D 0x4