On Sat, Aug 06, 2016 at 02:00:40AM +0300, Max Filippov wrote:

> From: Chris Zankel <ch...@zankel.net>
> 
> 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 <ch...@zankel.net>
> Signed-off-by: Max Filippov <jcmvb...@gmail.com>
[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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to