sparc: Implement ARCH_HAS_CC_CAN_LINK

The generic CC_CAN_LINK detection does not work for all architectures.

Make the logic easier to understand and allow the simplification of the
generic CC_CAN_LINK by using a tailored implementation.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
This commit is contained in:
Thomas Weißschuh 2025-12-22 09:29:15 +01:00 • committed by Andreas Larsson
commit dc2f4d41a6