From: Mike Frysinger Date: Sat, 19 Nov 2011 01:04:16 -0500 Subject: [U-Boot] [PATCH 4/9] openrisc: Add library functions In-Reply-To: <1321680098-31121-5-git-send-email-stefan.kristiansson@saunalahti.fi> References: <1321680098-31121-1-git-send-email-stefan.kristiansson@saunalahti.fi> <1321680098-31121-5-git-send-email-stefan.kristiansson@saunalahti.fi> Message-ID: <201111190104.17252.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > +#include > +#include 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: