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 1c94bf9fa1bf9eb5ae4a183eb42c0b2c2fee4675..742232d2d660358ae361504e6b44014d84bfc6f5 100644 (file)
  */
 #include "mv-plug-common.h"
 
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
 /*
  *  Environment variables configurations
  */
index c06f0058deb57381609aeca016536d07ff774280..f8d66371423930618506981f9a1535a462e8ff4e 100644 (file)
  */
 #include "mv-plug-common.h"
 
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
 /*
  *  Environment variables configurations
  */
index 739ab320f637b9e13f8e551668bcab2edaf2b603..3ce021abea84de83661bbf55bab268619658fcf6 100644 (file)
  */
 #include "mv-plug-common.h"
 
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
 /*
  *  Environment variables configurations
  */
index 81c07a889a36b600b6b47cdde0cb27590637906b..f424e2cc6c521def0edf0550e5a105d97ae7e8a4 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 deec71734dc792498bc8c6e96db5468e9dcc2ce2..12e38b3f12dc41d0709bbb8571cf752d9467ac44 100644 (file)
  */
 #include "mv-plug-common.h"
 
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MV
+#endif /* CONFIG_CMD_DATE */
+
 /*
  *  Environment variables configurations
  */