Convert CONFIG_MCFRTC et al to Kconfig

This converts the following to Kconfig:
   CONFIG_MCFRTC
   CONFIG_SYS_MCFRTC_BASE

While at it, remove '#undef RTC_DEBUG' from these config files.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2022-03-23 17:19:51 -04:00
parent b7872641a8
commit 3c205a6e4a
13 changed files with 18 additions and 20 deletions

View File

@@ -36,8 +36,6 @@
# endif /* CONFIG_SYS_DISCOVER_PHY */
#endif
#define CONFIG_MCFRTC
#undef RTC_DEBUG
#define CONFIG_SYS_RTC_CNT (0x8000)
#define CONFIG_SYS_RTC_SETUP (RTC_OCEN_OSCBYP | RTC_OCEN_CLKEN)

View File

@@ -33,9 +33,6 @@
# endif /* CONFIG_SYS_DISCOVER_PHY */
#endif
#define CONFIG_MCFRTC
#undef RTC_DEBUG
/* I2C */
#ifdef CONFIG_MCFFEC

View File

@@ -35,9 +35,6 @@
# endif /* CONFIG_SYS_DISCOVER_PHY */
#endif
#define CONFIG_MCFRTC
#undef RTC_DEBUG
/* I2C */
#ifdef CONFIG_MCFFEC

View File

@@ -51,9 +51,6 @@
#define ENABLE_JFFS 1
#endif
#define CONFIG_MCFRTC
#undef RTC_DEBUG
/* I2C */
/*

View File

@@ -35,7 +35,6 @@
""
/* Realtime clock */
#undef CONFIG_MCFRTC
#define CONFIG_RTC_MCFRRTC
#define CONFIG_SYS_MCFRRTC_BASE 0xFC0A8000