summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices
diff options
context:
space:
mode:
authorSammy He <r62914@freescale.com>2012-02-10 15:38:01 +0800
committerSammy He <r62914@freescale.com>2012-02-10 16:28:47 +0800
commitc6f56b31875f5e6de3785a3fe552f536d92d03f7 (patch)
tree297904e810366ce49ba9669ebfc0b1fa63e2e41b /arch/arm/plat-mxc/devices
parentf6aed6d5a52dfbb408676eb158d4cb2fb2f1a650 (diff)
ENGR00173463 i.mx6dl: vpu: disable iram usage
Disable vpu iram since mx6dl platform iram isn't enough for vpu after VDOA/audio used it. Signed-off-by: Sammy He <r62914@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/devices')
-rwxr-xr-xarch/arm/plat-mxc/devices/platform-imx_vpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx_vpu.c b/arch/arm/plat-mxc/devices/platform-imx_vpu.c
index ed30bc7882b8..c36439138778 100755
--- a/arch/arm/plat-mxc/devices/platform-imx_vpu.c
+++ b/arch/arm/plat-mxc/devices/platform-imx_vpu.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved.
* Jason Chen <jason.chen@freescale.com>
*
* This program is free software; you can redistribute it and/or modify it under
@@ -167,6 +167,9 @@ struct platform_device *__init imx_add_vpu(
pdata.iram_enable = data->iram_enable;
pdata.iram_size = data->iram_size;
+ if (cpu_is_mx6dl())
+ pdata.iram_enable = false;
+
return imx_add_platform_device("mxc_vpu", -1,
res, ARRAY_SIZE(res), &pdata, sizeof(pdata));
}