configs: move RTC_MV config from mv-plug-common.h to boards
authorChris Packham <judge.packham@gmail.com>
Tue, 7 Aug 2018 07:41:45 +0000 (19:41 +1200)
committerStefan Roese <sr@denx.de>
Tue, 7 Aug 2018 08:51:19 +0000 (10:51 +0200)
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>
include/configs/dreamplug.h
include/configs/ds109.h
include/configs/guruplug.h
include/configs/mv-plug-common.h
include/configs/sheevaplug.h

index 1c94bf9..742232d 100644 (file)
  */
 #include "mv-plug-common.h"
 
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
 /*
  *  Environment variables configurations
  */
index c06f005..f8d6637 100644 (file)
  */
 #include "mv-plug-common.h"
 
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
 /*
  *  Environment variables configurations
  */
index 739ab32..3ce021a 100644 (file)
  */
 #include "mv-plug-common.h"
 
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
 /*
  *  Environment variables configurations
  */
index 81c07a8..f424e2c 100644 (file)
  */
 #include "mv-common.h"
 
-/*
- * RTC driver configuration
- */
-#ifdef CONFIG_CMD_DATE
-#define CONFIG_RTC_MV
-#endif /* CONFIG_CMD_DATE */
-
 #endif /* _CONFIG_MARVELL_PLUG_H */
index deec717..12e38b3 100644 (file)
  */
 #include "mv-plug-common.h"
 
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
 /*
  *  Environment variables configurations
  */