
9 Jan
2004
9 Jan
'04
9:11 p.m.
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