All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] error: `CFG_RTC_BUS_NUM' undeclared
@ 2007-03-01  0:21 Kim Phillips
  2007-03-01  6:08 ` Stefan Roese
  0 siblings, 1 reply; 3+ messages in thread
From: Kim Phillips @ 2007-03-01  0:21 UTC (permalink / raw)
  To: u-boot

The code introduced with your patch "[PATCH] I2C: Add support for multiple I2C busses for RTC & DTT":

http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commitdiff;h=0dc018ece13effc689e47479ea9ebf1c98a507f5

breaks board builds that don't define CFG_RTC_BUS_NUM but do define
CFG_CMD_DATE (such as the MPC8349EMDS):

cmd_date.c: In function `do_date':
cmd_date.c:52: error: `CFG_RTC_BUS_NUM' undeclared (first use in this function)

CFG_RTC_BUS_NUM needs to either be protected, or forced to 0 if undefined, or even enforce that all boards that define CMD_DATE also define the RTC bus.  Let me know how you want to proceed.

Kim

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-01 22:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-01  0:21 [U-Boot-Users] error: `CFG_RTC_BUS_NUM' undeclared Kim Phillips
2007-03-01  6:08 ` Stefan Roese
2007-03-01 22:04   ` Kim Phillips

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.