armv8: SPL: only compile GIC code if needed
authorAndre Przywara <andre.przywara@arm.com>
Wed, 26 Apr 2017 00:32:40 +0000 (01:32 +0100)
committerJagan Teki <jagan@openedev.com>
Wed, 17 May 2017 17:50:31 +0000 (23:20 +0530)
commit0cef6cbe3a50cc48f6d0d574297ccb06b67e0f65
treec4f5424ab858b869ee898fade923a386184d4f17
parent45e2d067669aee876badb23600e2145e562a961d
armv8: SPL: only compile GIC code if needed

Not every SoC needs to set up the GIC interrupt controller, so link
think code only when the respective config option is set.
This shaves off some bytes from the SPL code size.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/lib/Makefile