[U-Boot-Users] [PATCH] pass custom data to Linux

Anders Larsen alarsen at rea.de
Wed Nov 12 18:07:51 CET 2003


Hi,

the attached patch defines a new config option CONFIG_CUSTOM_TAGS for
ARM targets.

Defining this option causes do_bootm_linux() to call the function
setup_custom_tags(), which should be supplied from the board-specific
stuff.

Specifically, I need to pass the board revision and serial number to
the Linux kernel, and I'd like to use the standard method of passing
tagged parameters. For my purpose, ATAG_SERIAL and ATAG_REVISION are
already defined (and supported by the kernel).

CHANGELOG:
   add config option CONFIG_CUSTOM_TAGS

Cheers
 Anders

-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot.custom-tags.patch
Type: application/octet-stream
Size: 1280 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20031112/06b89267/attachment.obj 


More information about the U-Boot mailing list