commands: add hwclock
The hwclock command allows to query or set the hardware clock (RTC).

Barebox' 'hwclock' command uses busybox' 'date' compatible
time format ccyymmddHHMM[.SS]:

  # /bin/busybox date -s 201407292005.41 ; /bin/date
  Tue Jul 29 20:05:41 MSK 2014
  Tue Jul 29 20:05:41 MSK 2014

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 686df20 commit 2bcf7f4dc8128f82fd548c5a32e9785059bfabbc
@Antony Pavlov Antony Pavlov authored on 29 Jul 2014
Sascha Hauer committed on 2 Aug 2014
Showing 3 changed files
View
commands/Kconfig
View
commands/Makefile
View
commands/hwclock.c 0 → 100644