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>
This commit is contained in:
Chris Packham 2018-08-07 19:41:45 +12:00 committed by Stefan Roese
parent f596efb749
commit 70222a6beb
5 changed files with 16 additions and 7 deletions

View File

@ -27,6 +27,10 @@
*/
#include "mv-plug-common.h"
#ifdef CONFIG_CMD_DATE
#define CONFIG_RTC_MV
#endif /* CONFIG_CMD_DATE */
/*
* Environment variables configurations
*/

View File

@ -30,6 +30,10 @@
*/
#include "mv-plug-common.h"
#ifdef CONFIG_CMD_DATE
#define CONFIG_RTC_MV
#endif /* CONFIG_CMD_DATE */
/*
* Environment variables configurations
*/

View File

@ -25,6 +25,10 @@
*/
#include "mv-plug-common.h"
#ifdef CONFIG_CMD_DATE
#define CONFIG_RTC_MV
#endif /* CONFIG_CMD_DATE */
/*
* Environment variables configurations
*/

View File

@ -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 */

View File

@ -29,6 +29,10 @@
*/
#include "mv-plug-common.h"
#ifdef CONFIG_CMD_DATE
#define CONFIG_RTC_MV
#endif /* CONFIG_CMD_DATE */
/*
* Environment variables configurations
*/