rpi3: build: Include GPIO driver in all BL stages
So far the Raspberry Pi 3 build needs the GPIO driver just for BL2. Upcoming changes will require some GPIO code in BL1 and BL31 also, so move those driver files into the common source section. This does not affect BL31 code size at all, and bl1.bin just increases by 144 bytes, but doesn't affect the padded binary size at all. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Change-Id: I7639746dc241c1e69099d85d2671c65fa0108555
This commit is contained in:
parent
5e6d821cb3
commit
29e8c46066
|
@ -12,6 +12,9 @@ PLAT_INCLUDES := -Iplat/rpi/common/include \
|
|||
|
||||
PLAT_BL_COMMON_SOURCES := drivers/ti/uart/aarch64/16550_console.S \
|
||||
drivers/arm/pl011/aarch64/pl011_console.S \
|
||||
drivers/gpio/gpio.c \
|
||||
drivers/delay_timer/delay_timer.c \
|
||||
drivers/rpi3/gpio/rpi3_gpio.c \
|
||||
plat/rpi/common/rpi3_common.c \
|
||||
${XLAT_TABLES_LIB_SRCS}
|
||||
|
||||
|
@ -30,10 +33,7 @@ BL2_SOURCES += common/desc_image_load.c \
|
|||
drivers/io/io_fip.c \
|
||||
drivers/io/io_memmap.c \
|
||||
drivers/io/io_storage.c \
|
||||
drivers/gpio/gpio.c \
|
||||
drivers/delay_timer/delay_timer.c \
|
||||
drivers/delay_timer/generic_delay_timer.c \
|
||||
drivers/rpi3/gpio/rpi3_gpio.c \
|
||||
drivers/io/io_block.c \
|
||||
drivers/mmc/mmc.c \
|
||||
drivers/rpi3/sdhost/rpi3_sdhost.c \
|
||||
|
|
Loading…
Reference in New Issue