From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Fri, 9 Jan 2004 21:11:51 +0100 Subject: [U-Boot-Users] RTC for MPC5200 References: <20040108210501.GA4693@timension.com> Message-ID: <033d01c3d6ec$decf7670$6d4ba8c0@alb.sub.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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