Skip to contentSkip to conversation

support for CONFIG_SERIAL_TAG on ARM boards

PATCH New Steven Scholz 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support for CONFIG_SERIAL_TAG on ARM boards

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!

Signature · 7 lines
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 
#1 lore raw

PATCH 1/1 support for CONFIG_SERIAL_TAG on ARM boards

Quoted 3 lines · In message <[email protected]> you wrote:

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

Checked in, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Any sufficiently advanced technology is indistinguishable from magic.
                                                   - Arthur C. Clarke