aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2018-08-07 19:41:45 +1200
committerStefan Roese <sr@denx.de>2018-08-07 10:51:19 +0200
commit70222a6beb4d8ed570dfa281b1ba681fe76a7f8a (patch)
tree00e981637635eb0bb92b081374d0845b681e0310 /include
parentf596efb7499eceadf2940c35982df8cb44c3344b (diff)
downloadu-boot-70222a6beb4d8ed570dfa281b1ba681fe76a7f8a.zip
u-boot-70222a6beb4d8ed570dfa281b1ba681fe76a7f8a.tar.gz
u-boot-70222a6beb4d8ed570dfa281b1ba681fe76a7f8a.tar.bz2
configs: move RTC_MV config from mv-plug-common.h to boards
To aid in migrating CONFIG_RTC_MV to Kconfig move the definition of it from mv-plug-common.h to the board config headers that nest it. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/dreamplug.h4
-rw-r--r--include/configs/ds109.h4
-rw-r--r--include/configs/guruplug.h4
-rw-r--r--include/configs/mv-plug-common.h7
-rw-r--r--include/configs/sheevaplug.h4
5 files changed, 16 insertions, 7 deletions
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index 1c94bf9..742232d 100644
--- a/include/configs/dreamplug.h
+++ b/include/configs/dreamplug.h
@@ -27,6 +27,10 @@
*/
#include "mv-plug-common.h"
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
/*
* Environment variables configurations
*/
diff --git a/include/configs/ds109.h b/include/configs/ds109.h
index c06f005..f8d6637 100644
--- a/include/configs/ds109.h
+++ b/include/configs/ds109.h
@@ -30,6 +30,10 @@
*/
#include "mv-plug-common.h"
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
/*
* Environment variables configurations
*/
diff --git a/include/configs/guruplug.h b/include/configs/guruplug.h
index 739ab32..3ce021a 100644
--- a/include/configs/guruplug.h
+++ b/include/configs/guruplug.h
@@ -25,6 +25,10 @@
*/
#include "mv-plug-common.h"
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
/*
* Environment variables configurations
*/
diff --git a/include/configs/mv-plug-common.h b/include/configs/mv-plug-common.h
index 81c07a8..f424e2c 100644
--- a/include/configs/mv-plug-common.h
+++ b/include/configs/mv-plug-common.h
@@ -22,11 +22,4 @@
*/
#include "mv-common.h"
-/*
- * RTC driver configuration
- */
-#ifdef CONFIG_CMD_DATE
-#define CONFIG_RTC_MV
-#endif /* CONFIG_CMD_DATE */
-
#endif /* _CONFIG_MARVELL_PLUG_H */
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index deec717..12e38b3 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -29,6 +29,10 @@
*/
#include "mv-plug-common.h"
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
/*
* Environment variables configurations
*/