]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: rtc: sandbox: Enable real-time clock support
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:29 +0000 (12:37 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:14 +0000 (22:37 +0200)
Enable real-time-clock support in sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/sandbox_defconfig
drivers/rtc/Makefile
include/configs/sandbox.h

index 5ad7df3ab5d03074c92faa8c20c95c9f249a556a..0802ac5bd24299cd315e1c0aa04c34facbe98013 100644 (file)
@@ -28,3 +28,4 @@ CONFIG_TPM_TIS_SANDBOX=y
 CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
 CONFIG_SOUND_SANDBOX=y
+CONFIG_DM_RTC=y
index 9077bb39f1e13e596237eb93c1967fca6d65b6e6..3092de1d9c6a542485ac94fc45ddd955212c7ad7 100644 (file)
@@ -52,7 +52,5 @@ obj-$(CONFIG_RTC_RTC4543) += rtc4543.o
 obj-$(CONFIG_RTC_RV3029) += rv3029.o
 obj-$(CONFIG_RTC_RX8025) += rx8025.o
 obj-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o
-ifdef CONFIG_DM_RTC
 obj-$(CONFIG_SANDBOX) += sandbox_rtc.o
-endif
 obj-$(CONFIG_RTC_X1205) += x1205.o
index 3bf45a224d292747b7ddb8ba5cd9ebe0a26d1e40..ef0efc579591cd829b25f341b3905ad6317c0ca8 100644 (file)
 
 #define CONFIG_CMD_LZMADEC
 #define CONFIG_CMD_USB
+#define CONFIG_CMD_DATE
 
 #endif