public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Reinhard Meyer <r.meyer@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] RTC for MPC5200
Date: Fri, 9 Jan 2004 21:11:51 +0100	[thread overview]
Message-ID: <033d01c3d6ec$decf7670$6d4ba8c0@alb.sub.de> (raw)
In-Reply-To: 20040108210501.GA4693@timension.com

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 

  parent reply	other threads:[~2004-01-09 20:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-08 21:05 [U-Boot-Users] RTC for MPC5200 Victor Wren
2004-01-08 22:56 ` Wolfgang Denk
2004-01-09  0:23   ` Victor Wren
2004-01-09  6:46     ` Wolfgang Denk
2004-01-09 16:51 ` Reinhard Meyer
2004-01-09 20:11 ` Reinhard Meyer [this message]
2004-01-15  9:18   ` Wolfgang Denk
2004-01-15 10:22     ` Reinhard Meyer
2004-01-15 11:00       ` Wolfgang Denk
2004-01-15 12:58         ` Reinhard Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='033d01c3d6ec$decf7670$6d4ba8c0@alb.sub.de' \
    --to=r.meyer@emk-elektronik.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox