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

Anders Larsen alarsen at rea.de
Thu Nov 13 09:53:03 CET 2003


"George G. Davis" <davis_g at comcast.net> schreibt:
>Anders Larsen wrote:
>> 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).
>
>Since you say you are using standard ARM Linux tags to do this, why not
>just add support for CONFIG_{REVISION,SERIAL}_TAG in lib_arm/armlinux.c?

Hi George,

the tags are standard, but by nature the information is board-specific,
so I don't see how lib_arm/armlinux.c could do much more than simply
calling a function from the board tree.
Do you think my idea of adding the hook setup_custom_tags() is _too_
generic?

Cheers
 Anders





More information about the U-Boot mailing list