diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-02-16 15:50:40 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-24 08:43:31 -0500 |
commit | c35e2d91a9096a5033138b495742b98407fe238e (patch) | |
tree | 16870b58a8382827d41af35cb5a747011ecda9ce /drivers | |
parent | c1e1c1eca1dc34b25dbaa15bf0c25b7e85a5deb8 (diff) | |
download | u-boot-c35e2d91a9096a5033138b495742b98407fe238e.tar.gz |
Convert CONFIG_BOOTCOUNT_AM33XX to Kconfig
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_AM33XX
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Acked-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/bootcount/Kconfig | 9 | ||||
-rw-r--r-- | drivers/bootcount/Makefile | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig index 26fec899bb..e905295d45 100644 --- a/drivers/bootcount/Kconfig +++ b/drivers/bootcount/Kconfig @@ -12,6 +12,7 @@ if BOOTCOUNT_LIMIT choice prompt "Boot count device" + default BOOTCOUNT_AM33XX if AM33XX || SOC_DA8XX config BOOTCOUNT_EXT bool "Boot counter on EXT filesystem" @@ -19,6 +20,14 @@ config BOOTCOUNT_EXT Add support for maintaining boot count in a file on an EXT filesystem. +config BOOTCOUNT_AM33XX + bool "Boot counter in AM33XX RTC IP block" + depends on AM33XX || SOC_DA8XX + help + A bootcount driver for the RTC IP block found on many TI platforms. + This requires the RTC clocks, etc, to be enabled prior to use and + not all boards with this IP block on it will have the RTC in use. + endchoice config SYS_BOOTCOUNT_SINGLEWORD diff --git a/drivers/bootcount/Makefile b/drivers/bootcount/Makefile index 45445d24bf..62bf55e474 100644 --- a/drivers/bootcount/Makefile +++ b/drivers/bootcount/Makefile @@ -4,7 +4,6 @@ obj-y += bootcount.o obj-$(CONFIG_AT91SAM9XE) += bootcount_at91.o -obj-$(CONFIG_SOC_DA8XX) += bootcount_davinci.o obj-$(CONFIG_BOOTCOUNT_AM33XX) += bootcount_davinci.o obj-$(CONFIG_BOOTCOUNT_RAM) += bootcount_ram.o obj-$(CONFIG_BOOTCOUNT_ENV) += bootcount_env.o |