[U-Boot] [PATCH 2/3] h2200: Add board reset support

Marek Vasut marex at denx.de
Sun Jan 13 02:05:59 CET 2013


Dear Łukasz Dałek,

> On 13.01.2013 00:54, Marek Vasut wrote:
> > Dear Lukasz Dalek,
> > 
> > 
> > +void board_reset(void)
> > +{
> > +	/* Enable VLIO interface on Hamcop */
> > +	writeb(0x1, 0x4000);
> > +
> > +	/* Reset board (cold reset) */
> > +	writeb(0xff, 0x4002);
> > +}
> > Can you not reimplement reset_cpu() ?
> 
> reset_cpu() doesn't have __attribute__((weak)) so if I would try to
> implement it
> compiler will return with error.

Add it? Wasn't there similar patch already for some altera device?

Best regards,
Marek Vasut


More information about the U-Boot mailing list