From: Przemyslaw Marczak <p.marczak@samsung.com>
Date: Mon, 20 Apr 2015 18:07:38 +0000 (+0200)
Subject: exynos5: fix build break by adding CONFIG_POWER
X-Git-Tag: v2025.01-rc5-pxa1908~12959
X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B?a=commitdiff_plain;h=19bd3aaa5991948ef71100312b7c18fdb992bda2;p=u-boot.git

exynos5: fix build break by adding CONFIG_POWER

Move the configs listed below from exynos5-dt-common.h to exynos5-common.h:
- CONFIG_POWER
- CONFIG_POWER_I2C
fixes build break for Arndale and Smdk5250 boards.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
---

diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h
index 2eddb07f0a..5476248d88 100644
--- a/include/configs/exynos5-common.h
+++ b/include/configs/exynos5-common.h
@@ -149,6 +149,10 @@
 #define CONFIG_OF_SPI
 #endif
 
+/* Power */
+#define CONFIG_POWER
+#define CONFIG_POWER_I2C
+
 #ifdef CONFIG_ENV_IS_IN_SPI_FLASH
 #define CONFIG_ENV_SPI_MODE	SPI_MODE_0
 #define CONFIG_ENV_SECT_SIZE	CONFIG_ENV_SIZE