[U-Boot-Users] [Patch] U-Boot-v2: general replace __KERNEL__ with __UBOOT__

Jon Loeliger jdl at freescale.com
Thu Jun 19 14:53:59 CEST 2008


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 <linux/types.h>
>>> +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 <x0nishan at ti.com>
> 
> ---

Here.

jdl




More information about the U-Boot mailing list