[U-Boot-Users] [PATCH] support for CONFIG_SERIAL_TAG on ARM boards
Steven Scholz
steven.scholz at imc-berlin.de
Thu May 19 16:18:16 CEST 2005
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
More information about the U-Boot
mailing list