[U-Boot-Users] RTC for MPC5200
Reinhard Meyer
r.meyer at emk-elektronik.de
Fri Jan 9 21:11:51 CET 2004
Hello,
attached find mpc5200.c to support the MPC5200 RTC
Instructions to use:
put mpc5200.c into the u-boot/rtc folder:
add mpd5200.o to the Makefile in this folder:
OBJS = date.o \
ds12887.o ds1302.o ds1306.o ds1307.o ds1337.o \
ds1556.o ds164x.o ds174x.o \
m41t11.o m48t35ax.o mc146818.o mk48t59.o \
mpc8xx.o pcf8563.o s3c24x0_rtc.o mpc5200.o
add
#define CONFIG_RTC_MPC5200 1 /* use 5200 RTC */
and add CFG_CMD_DATE to your CONFIG_COMMANDS
and it should work.
I only tested it on our own hardware (TOP5200), we do not own any IceCube
development boards.
for Wolfgang:
CHANGELOG:
* Patch by Reinhard Meyer, 09 Jan 2004:
- added RTC support for MPC5200 based boards (requires RTC_XTAL)
Reinhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpc5200.zip
Type: application/x-zip-compressed
Size: 1681 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040109/583948e6/attachment.bin
More information about the U-Boot
mailing list