On Mon, 2007-09-03 at 11:13 +1000, David Gibson wrote: > On Fri, Aug 31, 2007 at 03:04:55PM -0500, Josh Boyer wrote: > > Add zImage wrapper for walnut board > > > > Signed-off-by: Josh Boyer <[EMAIL PROTECTED]> > > [snip] > > --- /dev/null > > +++ linux-2.6/arch/powerpc/boot/treeboot-walnut.c > > @@ -0,0 +1,133 @@ > > +/* > > + * Old U-boot compatibility for Walnut > > + * > > + * Author: Josh Boyer <[EMAIL PROTECTED]> > > + * > > + * Copyright 2007 IBM Corporation > > + * Based on cuboot-83xx.c, which is: > > + * Copyright (c) 2007 Freescale Semiconductor, Inc. > > + * > > + * This program is free software; you can redistribute it and/or modify it > > + * under the terms of the GNU General Public License version 2 as published > > + * by the Free Software Foundation. > > + */ > > + > > +#include "ops.h" > > +#include "stdio.h" > > +#include "dcr.h" > > +#include "4xx.h" > > +#include "io.h" > > + > > +BSS_STACK(4096); > > + > > +void ibm405gp_fixup_clocks(unsigned int sysclk, unsigned int ser_clk) > > +{ > > + u32 pllmr = mfdcr(0xb0); > > Please add #defines for the DCR numbers, rather than using literals.
Oops. Meant to do that cleanup before I sent out this round. Will be fixed. josh _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev