Commit 8e7083fc95774017dba66cff85918ba9f0d0f12b

Authored by Simon Glass
1 parent 46af3608ea

dm: rtc: sandbox: Enable real-time clock support

Enable real-time-clock support in sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>

Showing 3 changed files with 2 additions and 2 deletions Side-by-side Diff

configs/sandbox_defconfig
... ... @@ -26,4 +26,5 @@
26 26 CONFIG_SOUND=y
27 27 CONFIG_CMD_SOUND=y
28 28 CONFIG_SOUND_SANDBOX=y
  29 +CONFIG_DM_RTC=y
drivers/rtc/Makefile
... ... @@ -52,8 +52,6 @@
52 52 obj-$(CONFIG_RTC_RV3029) += rv3029.o
53 53 obj-$(CONFIG_RTC_RX8025) += rx8025.o
54 54 obj-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o
55   -ifdef CONFIG_DM_RTC
56 55 obj-$(CONFIG_SANDBOX) += sandbox_rtc.o
57   -endif
58 56 obj-$(CONFIG_RTC_X1205) += x1205.o
include/configs/sandbox.h
... ... @@ -207,6 +207,7 @@
207 207  
208 208 #define CONFIG_CMD_LZMADEC
209 209 #define CONFIG_CMD_USB
  210 +#define CONFIG_CMD_DATE
210 211  
211 212 #endif