From mboxrd@z Thu Jan 1 00:00:00 1970 From: George G. Davis Date: Wed, 12 Nov 2003 13:14:59 -0500 Subject: [U-Boot-Users] [PATCH] pass custom data to Linux In-Reply-To: References: Message-ID: <3FB278A3.9060708@comcast.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >