[U-Boot] [PATCH 4/9] openrisc: Add library functions

Mike Frysinger vapier at gentoo.org
Sat Nov 19 07:04:16 CET 2011


On Saturday 19 November 2011 00:21:33 Stefan Kristiansson wrote:
> --- /dev/null
> +++ b/arch/openrisc/lib/board.c
>
> +extern int timer_init(void);

common.h already provides this.  delete this line.

> +init_fnc_t *init_sequence[] = {

static init_fnc_t * const init_sequence[] = {

> +	NULL,			/* Terminate this list */

use ARRAY_SIZE(init_sequence) and you don't need the NULL pointer

> +#if defined(CONFIG_NET_MULTI)

this define no longer exists, so delete any references to it

> --- /dev/null
> +++ b/arch/openrisc/lib/timer.c
>
> +#include <asm/system.h>
> +#include <asm/openrisc_exc.h>
> +#include <common.h>

asm/ after non-asm/ includes
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111119/4347a933/attachment.pgp>


More information about the U-Boot mailing list