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

George G. Davis davis_g at comcast.net
Wed Nov 12 19:14:59 CET 2003


Anders Larsen wrote:
> 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).

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?

--
Regards,
George

> 
> CHANGELOG:
>    add config option CONFIG_CUSTOM_TAGS
> 
> Cheers
>  Anders
> 





More information about the U-Boot mailing list