summaryrefslogtreecommitdiff
path: root/board/samsung/common/board.c
diff options
context:
space:
mode:
authorRajeshwari Birje <rajeshwari.s@samsung.com>2013-12-26 09:44:24 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2013-12-30 16:50:34 +0900
commite106bd9b9d0c3ec429b2e85184738789b75ca247 (patch)
tree87ae1d21dbf72323cd18f1edf772e3ce9b3153b1 /board/samsung/common/board.c
parent5af4a4f74ac0607c71f5fca3fd0c6679b662b207 (diff)
downloadu-boot-imx-e106bd9b9d0c3ec429b2e85184738789b75ca247.zip
u-boot-imx-e106bd9b9d0c3ec429b2e85184738789b75ca247.tar.gz
u-boot-imx-e106bd9b9d0c3ec429b2e85184738789b75ca247.tar.bz2
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>
Diffstat (limited to 'board/samsung/common/board.c')
-rw-r--r--board/samsung/common/board.c2
1 files changed, 2 insertions, 0 deletions
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 @@ struct cros_ec_dev *board_get_cros_ec_dev(void)
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 @@ static int board_init_cros_ec_devices(const void *blob)
return 0;
}
+#endif
#if defined(CONFIG_POWER)
#ifdef CONFIG_POWER_MAX77686