
12 Nov
2003
12 Nov
'03
7:14 p.m.
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