From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Thu, 19 May 2005 16:18:16 +0200 Subject: [U-Boot-Users] [PATCH] support for CONFIG_SERIAL_TAG on ARM boards Message-ID: <428CA028.2050904@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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