|
@@ -335,6 +335,15 @@ static void __init exynos_reserve(void)
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static void __init exynos_dt_fixup(void)
|
|
|
|
+{
|
|
|
|
+ /*
|
|
|
|
+ * Some versions of uboot pass garbage entries in the memory node,
|
|
|
|
+ * use the old CONFIG_ARM_NR_BANKS
|
|
|
|
+ */
|
|
|
|
+ of_fdt_limit_memory(8);
|
|
|
|
+}
|
|
|
|
+
|
|
DT_MACHINE_START(EXYNOS_DT, "SAMSUNG EXYNOS (Flattened Device Tree)")
|
|
DT_MACHINE_START(EXYNOS_DT, "SAMSUNG EXYNOS (Flattened Device Tree)")
|
|
/* Maintainer: Thomas Abraham <thomas.abraham@linaro.org> */
|
|
/* Maintainer: Thomas Abraham <thomas.abraham@linaro.org> */
|
|
/* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */
|
|
/* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */
|
|
@@ -348,4 +357,5 @@ DT_MACHINE_START(EXYNOS_DT, "SAMSUNG EXYNOS (Flattened Device Tree)")
|
|
.dt_compat = exynos_dt_compat,
|
|
.dt_compat = exynos_dt_compat,
|
|
.restart = exynos_restart,
|
|
.restart = exynos_restart,
|
|
.reserve = exynos_reserve,
|
|
.reserve = exynos_reserve,
|
|
|
|
+ .dt_fixup = exynos_dt_fixup,
|
|
MACHINE_END
|
|
MACHINE_END
|