Commit 1fe2aa25 authored by Amit Kucheria's avatar Amit Kucheria Committed by Tony Lindgren

set_vpp() is only functional for omap1 now

Signed-off-by: default avatarAmit Kucheria <amit.kucheria@verdurent.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5f053e4e
......@@ -61,7 +61,7 @@ static void omap_set_vpp(struct map_info *map, int enable)
{
static int count;
if (!cpu_is_omap24xx()) {
if (cpu_class_is_omap1()) {
if (enable) {
if (count++ == 0)
OMAP_EMIFS_CONFIG_REG |= OMAP_EMIFS_CONFIG_WP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment