public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] support for CONFIG_SERIAL_TAG on ARM boards
@ 2005-05-19 14:18 Steven Scholz
  2005-05-19 22:18 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Scholz @ 2005-05-19 14:18 UTC (permalink / raw)
  To: u-boot

Hi,

please consider this:

* Patch by Steven Scholz, 19 May 2005:
    Add support for CONFIG_SERIAL_TAG on ARM baords


If someone wants to pass the board's serial number to the ARM linux kernel 
using the ATAG_SERIAL mechanism, all she has to do is

#define CONFIG_REVISION_TAG

in the board config file and implement a trivial, board specific

#ifdef CONFIG_SERIAL_TAG
void get_board_serial(struct tag_serialnr *serialnr)
{
	serialnr->low = (u32) sernum;
	serialnr->high= (u32) 0;
}
#endif

Same goes for CONFIG_REVISION_TAG.

Thanks a million!

-- 
Steven Scholz
imc Measurement & Control

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: u-boot-serial_tag.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050519/34c54fe9/attachment.txt 

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

end of thread, other threads:[~2005-05-19 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 14:18 [U-Boot-Users] [PATCH] support for CONFIG_SERIAL_TAG on ARM boards Steven Scholz
2005-05-19 22:18 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox