rtc: Rename RTC_SUPPORT to RTC
authorSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 18:20:11 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 4 Sep 2021 15:42:41 +0000 (11:42 -0400)
Rename these options so that CONFIG_IS_ENABLED can be used with them.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/Kconfig
configs/chromebook_link64_defconfig
configs/openpiton_riscv64_spl_defconfig
configs/qemu-x86_64_defconfig
configs/sandbox_noinst_defconfig
configs/sandbox_spl_defconfig
drivers/Makefile

index 93eff14..15ddb0d 100644 (file)
@@ -1073,7 +1073,7 @@ config SPL_REMOTEPROC
          Enable support for REMOTEPROCs in SPL. This permits to load
          a remote processor firmware in SPL.
 
-config SPL_RTC_SUPPORT
+config SPL_RTC
        bool "Support RTC drivers"
        help
          Enable RTC (Real-time Clock) support in SPL. This includes support
@@ -1562,7 +1562,7 @@ config TPL_RAM_DEVICE
          be already in memory when TPL takes over, e.g. loaded by the boot
          ROM.
 
-config TPL_RTC_SUPPORT
+config TPL_RTC
        bool "Support RTC drivers"
        help
          Enable RTC (Real-time Clock) support in TPL. This includes support
index 10d4fd1..147cf68 100644 (file)
@@ -38,7 +38,7 @@ CONFIG_SPL_DM_SPI_FLASH=y
 CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_PCI=y
 CONFIG_SPL_PCH=y
-CONFIG_SPL_RTC_SUPPORT=y
+CONFIG_SPL_RTC=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 CONFIG_CMD_GPIO=y
index 67fbcdd..5107e87 100644 (file)
@@ -25,7 +25,7 @@ CONFIG_SPL_SEPARATE_BSS=y
 # CONFIG_SPL_BANNER_PRINT is not set
 CONFIG_SPL_CPU=y
 CONFIG_SPL_FS_EXT4=y
-CONFIG_SPL_RTC_SUPPORT=y
+CONFIG_SPL_RTC=y
 CONFIG_SYS_PROMPT="openpiton$ "
 # CONFIG_CMD_CPU is not set
 CONFIG_CMD_BOOTZ=y
index 62016e9..ae94e19 100644 (file)
@@ -37,7 +37,7 @@ CONFIG_SPL_DM_SPI_FLASH=y
 CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_PCI=y
 CONFIG_SPL_PCH=y
-CONFIG_SPL_RTC_SUPPORT=y
+CONFIG_SPL_RTC=y
 CONFIG_CMD_CPU=y
 CONFIG_CMD_BOOTEFI_SELFTEST=y
 CONFIG_CMD_NVEDIT_EFI=y
index 68afab6..646b532 100644 (file)
@@ -33,7 +33,7 @@ CONFIG_HANDOFF=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
-CONFIG_SPL_RTC_SUPPORT=y
+CONFIG_SPL_RTC=y
 CONFIG_CMD_CPU=y
 CONFIG_CMD_LICENSE=y
 CONFIG_CMD_BOOTZ=y
index cd3aa87..4c02d91 100644 (file)
@@ -34,7 +34,7 @@ CONFIG_HANDOFF=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
-CONFIG_SPL_RTC_SUPPORT=y
+CONFIG_SPL_RTC=y
 CONFIG_CMD_CPU=y
 CONFIG_CMD_LICENSE=y
 CONFIG_CMD_BOOTZ=y
index 3a82ad6..6a05787 100644 (file)
@@ -20,7 +20,7 @@ obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
 obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
 obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
 obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
-obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/
+obj-$(CONFIG_$(SPL_TPL_)RTC) += rtc/
 obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/
 obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/
 obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/