]> Zhao Yanbai Git Server - minix.git/commit
readclock: add support for am335x RTC 95/695/1
authorThomas Cort <tcort@minix3.org>
Fri, 2 Aug 2013 14:10:30 +0000 (10:10 -0400)
committerThomas Cort <tcort@minix3.org>
Mon, 5 Aug 2013 12:37:51 +0000 (08:37 -0400)
commit09db2a8c6721af76a2bd81d69648cf877070a501
tree127fdc30ef8acf40e393d782ccecb95b0521c0d0
parentc4f3c7d66f70f8bc5feaebbbd068e5d98dd77a25
readclock: add support for am335x RTC

Add support for getting/setting the am335x SoC's internal real
time clock. Also, allow the power off alarm to be set.

Make readclock an "always on" driver. This is needed for setting
power-off alarms whenever the power button is pressed on the BBB.

Replace the readclock.sh script & single run driver with a
readclock program that takes the same arguments and forwards
the requests on to the always up readclock driver.

Change-Id: Ifd6c2acd80ae4b5e79d83df510df445c24e24a71
17 files changed:
commands/readclock/Makefile
commands/readclock/readclock.c [new file with mode: 0644]
commands/readclock/readclock.sh [deleted file]
distrib/sets/lists/minix/md.i386
distrib/sets/lists/minix/mi
drivers/Makefile
drivers/readclock/Makefile
drivers/readclock/arch/earm/Makefile.inc [new file with mode: 0644]
drivers/readclock/arch/earm/arch_readclock.c [new file with mode: 0644]
drivers/readclock/arch/earm/omap_rtc.h [new file with mode: 0644]
drivers/readclock/arch/i386/Makefile.inc [new file with mode: 0644]
drivers/readclock/arch/i386/arch_readclock.c [new file with mode: 0644]
drivers/readclock/readclock.c
drivers/readclock/readclock.h [new file with mode: 0644]
etc/rc
etc/system.conf
include/minix/com.h