2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00

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

Reserve memory for MFC-v7 IP.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
Sachin Kamat 2014-03-21 01:52:56 +09:00 committed by Kukjin Kim
parent 8b3e8bbd13
commit 7ed3001500

View File

@ -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
}