From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 6 Aug 2016 12:59:44 -0400 Subject: [U-Boot] [PATCH v3 2/6] xtensa: add support for the xtensa processor architecture [2/2] In-Reply-To: <1470438044-15997-3-git-send-email-jcmvbkbc@gmail.com> References: <1470438044-15997-1-git-send-email-jcmvbkbc@gmail.com> <1470438044-15997-3-git-send-email-jcmvbkbc@gmail.com> Message-ID: <20160806165944.GG9942@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Aug 06, 2016 at 02:00:40AM +0300, Max Filippov wrote: > From: Chris Zankel > > The Xtensa processor architecture is a configurable, extensible, > and synthesizable 32-bit RISC processor core provided by Tensilica, inc. > > This is the second part of the basic architecture port, adding the > 'arch/xtensa' directory and a readme file. > > Signed-off-by: Chris Zankel > Signed-off-by: Max Filippov [snip] > +#ifdef CONFIG_USE_IRQ > +#error "Use of interrupts is not supported in Xtensa port" > +#else > +int interrupt_init(void) > +{ > + return 0; > +} > + > +void enable_interrupts(void) > +{ > +} > + > +int disable_interrupts(void) > +{ > + return 0; > +} > +#endif Drop the USE_IRQ check and just always have the dummy functions. You should also check u-boot.map to see if we're discarding any of these dummy function as not being needed at all anymore (and as a sanity check for some of the other functions that are being added). Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: