Subject: Re: [patch 6/6] Walnut zImage wrapper

From: Josh Boyer <[email-masked]>
Date: Sun, 02 Sep 2007 08:58:38 -0500

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-masked]>
> 
> [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-masked]>
> > + *
> > + * 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