Exynos5420: Add base patch for SMDK5420
Adding the base patch for Exynos based SMDK5420.
This shall enable compilation and basic boot support for
SMDK5420.
Signed-off-by: Rajeshwari S Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index dc68e3a..cd873bc 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -149,6 +149,7 @@
return local.cros_ec_dev;
}
+#ifdef CONFIG_CROS_EC
static int board_init_cros_ec_devices(const void *blob)
{
local.cros_ec_err = cros_ec_init(blob, &local.cros_ec_dev);
@@ -157,6 +158,7 @@
return 0;
}
+#endif
#if defined(CONFIG_POWER)
#ifdef CONFIG_POWER_MAX77686