summaryrefslogtreecommitdiff
path: root/board/compulab/cl-som-am57x
diff options
context:
space:
mode:
authorUri Mashiach <uri.mashiach@compulab.co.il>2017-05-17 17:29:27 +0300
committerTom Rini <trini@konsulko.com>2017-06-05 14:13:01 -0400
commita4e0a63357687e84d54e134baad5d223f485e572 (patch)
tree99ec0439080942dd1c1a60e21720bfbd61a648c7 /board/compulab/cl-som-am57x
parent729afa8dd84a0cf7bf40c7876cf95b2520563644 (diff)
ARM: am57xx: cl-som-am57x: support for AM5718
Disable SDRAM controller EMIF2 for single core SOC Set SDRAM size size to 1GB Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/compulab/cl-som-am57x')
-rw-r--r--board/compulab/cl-som-am57x/spl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/compulab/cl-som-am57x/spl.c b/board/compulab/cl-som-am57x/spl.c
index 855678fd5f..de2dadc517 100644
--- a/board/compulab/cl-som-am57x/spl.c
+++ b/board/compulab/cl-som-am57x/spl.c
@@ -19,7 +19,12 @@ static const struct dmm_lisa_map_regs cl_som_am57x_lisa_regs = {
void emif_get_dmm_regs(const struct dmm_lisa_map_regs **dmm_lisa_regs)
{
+ /* Disable SDRAM controller EMIF2 for single core SOC */
*dmm_lisa_regs = &cl_som_am57x_lisa_regs;
+ if (omap_revision() == DRA722_ES1_0) {
+ ((struct dmm_lisa_map_regs *) *dmm_lisa_regs)->dmm_lisa_map_3 =
+ 0x80640100;
+ }
}
static const struct emif_regs cl_som_am57x_emif1_ddr3_532mhz_emif_regs = {