[U-Boot] [PATCH] Added support for the Guntermann & Drunck PowerPC 440 EP/GR ETX module.

Jerry Van Baren gvb.uboot at gmail.com
Thu Nov 27 18:17:59 CET 2008


Stefan Roese wrote:
> Hi Dirk,
> 
> On Thursday 27 November 2008, Dirk Eibach wrote:

[snip]

>> +#include <ppc_asm.tmpl>
>> +#include <config.h>
>> +
>> +/* General */
>> +#define TLB_VALID   0x00000200
>> +
>> +/* Supported page sizes */
>> +
>> +#define SZ_1K	    0x00000000
>> +#define SZ_4K	    0x00000010
> ...
> 
> Just include:
> 
> #include <asm-ppc/mmu.h>
> 
> and you get all those defines for free.
> 
> Best regards,
> Stefan

Hi Stefan,

I'll do you four letters fewer:

#include <asm/mmu.h>

...since include/asm is symlinked to the active asm-<arch>.

Best regards,
gvb


More information about the U-Boot mailing list