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

Łukasz Dałek luk0104 at gmail.com
Sun Jan 13 02:00:24 CET 2013


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.

Yours sincerely,
Łukasz Dałek


More information about the U-Boot mailing list