From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kristoffer Ericson Date: Wed, 17 Nov 2010 18:04:43 +0100 Subject: [U-Boot] Detecting U-boot in linux kernel startup Message-ID: <20101117170442.GA820@boggieman> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Greetings, Im in the situation where most of the hp jornada 700-series handhelds got a rom containing wince while mine (and shortly alot more) contain uboot. So instead of adding alot of #ifdefs inside the kernel, I thought that I could do a check at bootup instead. I basicly need some unique id that only the flashrom would contain (e.g "u-boot ..blabla). So, any good location/string to check to confirm that its infact u-boot on the rom and not wince? Best wishes Kristoffer