projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3e8bb
)
ARM: EXYNOS: Add support to reserve memory for MFC-v7
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 20 Mar 2014 16:52:56 +0000
(
01:52
+0900)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Thu, 20 Mar 2014 17:00:09 +0000
(
02:00
+0900)
Reserve memory for MFC-v7 IP.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/mach-exynos5-dt.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-exynos/mach-exynos5-dt.c
b/arch/arm/mach-exynos/mach-exynos5-dt.c
index
9586439
..
9a8a798
100644
(file)
--- a/
arch/arm/mach-exynos/mach-exynos5-dt.c
+++ b/
arch/arm/mach-exynos/mach-exynos5-dt.c
@@
-59,7
+59,15
@@
static char const *exynos5_dt_compat[] __initdata = {
static void __init exynos5_reserve(void)
{
#ifdef CONFIG_S5P_DEV_MFC
- of_scan_flat_dt(s5p_fdt_alloc_mfc_mem, "samsung,mfc-v6");
+ int i;
+ char *mfc_mem[] = {
+ "samsung,mfc-v6",
+ "samsung,mfc-v7",
+ };
+
+ for (i = 0; i < ARRAY_SIZE(mfc_mem); i++)
+ if (of_scan_flat_dt(s5p_fdt_alloc_mfc_mem, mfc_mem[i]))
+ break;
#endif
}