cmd: date: Change to use CONFIG_DM_RTC instead of CONFIG_DM_I2C
authorBin Meng <bmeng.cn@gmail.com>
Tue, 23 Jun 2015 04:18:42 +0000 (12:18 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:16 +0000 (18:03 -0600)
commitffe387988d598f14b5cfc17b07c6dc61d8b7fa16
treea0b589fe2ec109f0affa7f89331d42081b179b66
parented2ac0d564c4fac1178d36ea46a34b923c262d03
cmd: date: Change to use CONFIG_DM_RTC instead of CONFIG_DM_I2C

Currently CONFIG_DM_I2C is used in cmd_date.c for driver model,
but it should be actually CONFIG_DM_RTC.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/cmd_date.c