提交 7ed30015 编写于 作者: S Sachin Kamat 提交者: Kukjin Kim

ARM: EXYNOS: Add support to reserve memory for MFC-v7

Reserve memory for MFC-v7 IP.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 8b3e8bbd
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册