]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: rtc: Convert 'date' command to support driver model
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:26 +0000 (12:37 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 02:58:40 +0000 (20:58 -0600)
commitf9951eadb6f956aced4fb2c9e2dca5936a811b9b
treeab8da8d48d9e43f96192735c0667e4057ae7b2a8
parent5871416640a5ef93ccdfaf391dc6321c5fc2f50a
dm: rtc: Convert 'date' command to support driver model

Adjust this command so that it supports using driver model for I2C, i.e.
CONFIG_DM_I2C. This will permit it to be used in sandbox also.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_date.c