summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorZeng Zhaoming <b32542@freescale.com>2011-04-07 09:16:51 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 20:07:55 +0800
commit4513456a8109f352db5329154ec3823bcae09b61 (patch)
treedaf99371499a16a578e95b4d6513cb3298e28cd3 /drivers/dma
parent99ee1024e812a9659868ad679cd6f6bb14d8716b (diff)
ENGR00141732 SDMA: Fix bootup stop at sdma firmware loading
Linux 2.6.38 kernel bootup slow, it stopped at sdma firmware loading for about one minute. It is caused by firmware store on rootfs lib/firmware directory, while sdma initialization happens before rootfs mounted. To fix it, we have to build firmware in kernel image. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/imx-sdma.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index b6d1455fa936..a681051ad392 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -7,7 +7,7 @@
*
* Based on code from Freescale:
*
- * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2011 Freescale Semiconductor, Inc. All Rights Reserved.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
@@ -1114,7 +1114,8 @@ static int __init sdma_get_firmware(struct sdma_engine *sdma,
const struct sdma_script_start_addrs *addr;
unsigned short *ram_code;
- fwname = kasprintf(GFP_KERNEL, "sdma-%s-to%d.bin", cpu_name, to_version);
+ fwname = kasprintf(GFP_KERNEL, "imx/sdma/sdma-%s-to%d.bin",
+ cpu_name, to_version);
if (!fwname)
return -ENOMEM;