[U-Boot] RFC [PATCH 4/5 v5] dreamplug: initial board support.
Prafulla Wadaskar
prafulla at marvell.com
Fri Jul 29 20:57:46 CEST 2011
> -----Original Message-----
> From: Jason [mailto:u-boot at lakedaemon.net]
> Sent: Friday, July 29, 2011 8:49 PM
> To: Prafulla Wadaskar
> Cc: clint at debian.org; wd at denx.de; u-boot at lists.denx.de; Prabhanjan
> Sarnaik; Ashish Karkare; Siddarth Gore; bdale at gag.com
> Subject: Re: RFC [PATCH 4/5 v5] dreamplug: initial board support.
>
...snip...
> > > > > +
> > > > > +/* PHY related */
> > > > > +#define MV88E1121_MAC_CTRL2_REG 21
> > > > > +#define MV88E1121_PGADR_REG 22
> > > > > +#define MV88E1121_RGMII_TXTM_CTRL (1 << 4)
> > > > > +#define MV88E1121_RGMII_RXTM_CTRL (1 << 5)
> > > > > +
> > > > > +#endif /* __DREAMPLUG_H */
> > > > > diff --git a/board/Marvell/dreamplug/kwbimage.cfg
> > > > > b/board/Marvell/dreamplug/kwbimage.cfg
> > > >
> > > > I hope this is not same as guruplug (since you are using same
> machine-
> > > id)?
> > >
> > > Very similar, see above.
> >
> > We can overrule this at this and can go ahead having dreamplug as new
> > board support since we have valid machin_id for this board.
>
> Okay, I'll go dig up the patch for changing mach-types.h and include it
> in the next revision.
As you said in other email, dreaplug used guruplug machine ID, this is wrong in principle.
Changing machin-types.h is strictly not recommended, it will be NACked.
So you have two options.
1. go and register new machin-id for dreamplug (if h/w delta is considerably high)
2. don't add dreamplug as separate board support, add it as new version for guruplug.
Regards..
Prafulla . .
More information about the U-Boot
mailing list