]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:14 +0000 (22:37 +0200)
commit80fb175dbf257062e8e6e4b0e4f413f7f588d355
treeece54840dbdadfb526766a7c3b6e2f0bdc5e6726
parentbfaaa156214b4b0b5c78f856cf890f3ba0e018d4
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