]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00173463 i.mx6dl: vpu: disable iram usage
authorSammy He <r62914@freescale.com>
Fri, 10 Feb 2012 07:38:01 +0000 (15:38 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:59 +0000 (08:33 +0200)
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>
arch/arm/plat-mxc/devices/platform-imx_vpu.c

index ed30bc7882b88ba46e82517d7c629eea837b1fa9..c364391387788d4ec9d88e732d889820bae449c6 100755 (executable)
@@ -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));
 }