[U-Boot-Users] RTC on ebony

Hi all
I have been using u-boot for the IBM ebony board (it works very well :)).
The Ebony board has an RTC. However, in my custom board I am planning not to have the RTC. Will this affect u-boot in any way? Basically what I am trying to ask is that, does u-boot use the RTC?
Thanks
Anupam S/W Design Engineer Dolby Labs
This message (including any attachments) may contain confidential information intended for a specific individual and purpose. If you are not the intended recipient, delete this message. If you are not the intended recipient, disclosing, copying, distributing, or taking any action based on this message is strictly prohibited.

Dear Anupam,
in message 2692A548B75777458914AC89297DD7DA0336BBB2@bronze.dolby.net you wrote:
The Ebony board has an RTC. However, in my custom board I am planning not to have the RTC. Will this affect u-boot in any way? Basically what I am trying to ask is that, does u-boot use the RTC?
Well, check yourself.
What's, for example, the result of "grep RTC include/configs/EBONY.h" ?
So yes, it probably uses the RTC on this board. So for your board configuration you would not #define CONFIG_RTC_DS174x. You will then probably get some errors from the "date" command implementation. You will then probably have to remove the CFG_CMD_DATE definition form your command configuration.
That's all. Isn't it easy?
Best regards,
Wolfgang Denk
participants (2)
-
Dhanuka, Anupam
-
Wolfgang Denk