Commit 9bc28a5e authored by Andre Przywara's avatar Andre Przywara
Browse files

plat/allwinner: Use common gicv2.mk



Compiling BL31 for the Allwinner platform now produces a message about
the deprecation of gic_common.c.
Follow the advice and use include gicv2.mk instead.

Collect all includes at the beginning of the file on the way.

Change-Id: Iee46e21a630bfa831d28059f09aa7b049eb554bb
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent 007be5ec
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
# #
include lib/xlat_tables_v2/xlat_tables.mk include lib/xlat_tables_v2/xlat_tables.mk
include lib/libfdt/libfdt.mk
include drivers/arm/gic/v2/gicv2.mk
AW_PLAT := plat/allwinner AW_PLAT := plat/allwinner
...@@ -12,8 +14,6 @@ PLAT_INCLUDES := -Iinclude/plat/arm/common/aarch64 \ ...@@ -12,8 +14,6 @@ PLAT_INCLUDES := -Iinclude/plat/arm/common/aarch64 \
-I${AW_PLAT}/common/include \ -I${AW_PLAT}/common/include \
-I${AW_PLAT}/${PLAT}/include -I${AW_PLAT}/${PLAT}/include
include lib/libfdt/libfdt.mk
PLAT_BL_COMMON_SOURCES := drivers/ti/uart/${ARCH}/16550_console.S \ PLAT_BL_COMMON_SOURCES := drivers/ti/uart/${ARCH}/16550_console.S \
${XLAT_TABLES_LIB_SRCS} \ ${XLAT_TABLES_LIB_SRCS} \
${AW_PLAT}/common/plat_helpers.S \ ${AW_PLAT}/common/plat_helpers.S \
...@@ -22,9 +22,7 @@ PLAT_BL_COMMON_SOURCES := drivers/ti/uart/${ARCH}/16550_console.S \ ...@@ -22,9 +22,7 @@ PLAT_BL_COMMON_SOURCES := drivers/ti/uart/${ARCH}/16550_console.S \
BL31_SOURCES += drivers/allwinner/axp/common.c \ BL31_SOURCES += drivers/allwinner/axp/common.c \
drivers/allwinner/sunxi_msgbox.c \ drivers/allwinner/sunxi_msgbox.c \
drivers/arm/css/scpi/css_scpi.c \ drivers/arm/css/scpi/css_scpi.c \
drivers/arm/gic/common/gic_common.c \ ${GICV2_SOURCES} \
drivers/arm/gic/v2/gicv2_helpers.c \
drivers/arm/gic/v2/gicv2_main.c \
drivers/delay_timer/delay_timer.c \ drivers/delay_timer/delay_timer.c \
drivers/delay_timer/generic_delay_timer.c \ drivers/delay_timer/generic_delay_timer.c \
lib/cpus/${ARCH}/cortex_a53.S \ lib/cpus/${ARCH}/cortex_a53.S \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment