From: Chris Packham <judge.packham@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/3] configs: move RTC_MV config from mv-plug-common.h to boards
Date: Tue, 7 Aug 2018 19:41:45 +1200 [thread overview]
Message-ID: <20180807074146.5071-2-judge.packham@gmail.com> (raw)
In-Reply-To: <20180807074146.5071-1-judge.packham@gmail.com>
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>
---
Changes in v3: None
Changes in v2: None
include/configs/dreamplug.h | 4 ++++
include/configs/ds109.h | 4 ++++
include/configs/guruplug.h | 4 ++++
include/configs/mv-plug-common.h | 7 -------
include/configs/sheevaplug.h | 4 ++++
5 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index 1c94bf9fa1bf..742232d2d660 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 c06f0058deb5..f8d663714239 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 739ab320f637..3ce021abea84 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 81c07a889a36..f424e2cc6c52 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 deec71734dc7..12e38b3f12dc 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
*/
--
2.18.0
next prev parent reply other threads:[~2018-08-07 7:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-07 7:41 [U-Boot] [PATCH v3 1/3] configs: kirkwood: ds109: switch to DM_I2C Chris Packham
2018-08-07 7:41 ` Chris Packham [this message]
2018-08-07 7:41 ` [U-Boot] [PATCH v3 3/3] configs: kirkwood: Move RTC_MV to DM and Kconfig Chris Packham
2018-09-19 12:11 ` [U-Boot] [PATCH v3 1/3] configs: kirkwood: ds109: switch to DM_I2C Stefan Roese
2018-11-20 6:59 ` Stefan Roese
2018-11-20 7:52 ` Chris Packham
2018-11-20 7:56 ` Stefan Roese
2018-11-20 8:01 ` Chris Packham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180807074146.5071-2-judge.packham@gmail.com \
--to=judge.packham@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox