[U-Boot] [PATCH v3 2/6] xtensa: add support for the xtensa processor architecture [2/2]

Tom Rini trini at konsulko.com
Sat Aug 6 18:59:44 CEST 2016


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

> From: Chris Zankel <chris at 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 <chris at zankel.net>
> Signed-off-by: Max Filippov <jcmvbkbc at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160806/811a6794/attachment.sig>


More information about the U-Boot mailing list