mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
arm: omap-common: emif: allow to map memory without interleaving
If we want to have two sections, one on each EMIF, without interleaving, current code wouldn't enable emif2. Fix that problem. Signed-off-by: Felipe Balbi <balbi@ti.com> Reviewed-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
7a294c5c0a
commit
dbf02eca0b
1 changed files with 6 additions and 5 deletions
|
@ -1226,13 +1226,14 @@ void dmm_init(u32 base)
|
|||
emif1_enabled = 1;
|
||||
emif2_enabled = 1;
|
||||
break;
|
||||
} else if (valid == 1) {
|
||||
emif1_enabled = 1;
|
||||
} else if (valid == 2) {
|
||||
emif2_enabled = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (valid == 1)
|
||||
emif1_enabled = 1;
|
||||
|
||||
if (valid == 2)
|
||||
emif2_enabled = 1;
|
||||
}
|
||||
}
|
||||
|
||||
static void do_bug0039_workaround(u32 base)
|
||||
|
|
Loading…
Add table
Reference in a new issue