From: Jon Loeliger Date: Thu, 19 Jun 2008 07:53:59 -0500 Subject: [U-Boot-Users] [Patch] U-Boot-v2: general replace __KERNEL__ with __UBOOT__ In-Reply-To: <7A436F7769CA33409C6B44B358BFFF0CD32118B5@dlee02.ent.ti.com> References: <7A436F7769CA33409C6B44B358BFFF0CD3192BBD@dlee02.ent.ti.com> <20080618190204.GM1189@pengutronix.de> <7A436F7769CA33409C6B44B358BFFF0CD32118B5@dlee02.ent.ti.com> Message-ID: <485A56E7.1020102@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Menon, Nishanth wrote: > Robert, >> -----Original Message----- >> From: Robert Schwebel [mailto:r.schwebel at pengutronix.de] >> Sent: Wednesday, June 18, 2008 2:02 PM >> To: Menon, Nishanth >> Cc: Sascha Hauer; Laurent Desnogues; Kamat, Nishant; philip.balister at gmail.com; u-boot- >> users at lists.sourceforge.net >> Subject: Re: [U-Boot-Users] [Patch 1/9] U-boot-V2:ID: Sync mod_devicetable >> >>> + >>> +#ifndef LINUX_MOD_DEVICETABLE_H >>> +#define LINUX_MOD_DEVICETABLE_H >>> + >>> +#ifdef __KERNEL__ >>> +#include >>> +typedef unsigned long kernel_ulong_t; >>> +#endif >> No Linux, no __KERNEL__. All the above crap should appear below the following "---" line. > Here is a patch to cleanup all other occurrences currently in u-boot v2. This is a blind replacement throughout. Do we want to consider replacing include/linux with include/u-boot? That should be line-length-limited to about 70 characters. The question should appear below the "---" line too. And I'd suggest that, if we go this route as a whole, then then the include directory should be renamed as well. > Signed-off-by: Nishanth Menon > > --- Here. jdl