CB acts as I/O handler for QCLib (e.g. DDR training data) This interface allows bi-directional data flow between CB and QCLib Tested and working interfaces: DDR Training data QCLib serial console output DDR Information (base & size) limits cfg data TEST=build & run Change-Id: I073186674a1a593547d1ee1d15c7cd4fd8ad5bc1 Signed-off-by: T Michael Turney <mturney@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/25208 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
|
|
ifeq ($(CONFIG_SOC_QUALCOMM_SDM845),y)
|
|
|
|
################################################################################
|
|
bootblock-y += bootblock.c
|
|
bootblock-y += spi.c
|
|
bootblock-y += mmu.c
|
|
bootblock-y += timer.c
|
|
bootblock-y += gpio.c
|
|
bootblock-y += clock.c
|
|
bootblock-$(CONFIG_SDM845_QSPI) += qspi.c
|
|
|
|
################################################################################
|
|
verstage-y += spi.c
|
|
verstage-y += timer.c
|
|
verstage-y += gpio.c
|
|
verstage-y += clock.c
|
|
verstage-$(CONFIG_SDM845_QSPI) += qspi.c
|
|
|
|
################################################################################
|
|
romstage-y += spi.c
|
|
romstage-y += cbmem.c
|
|
romstage-y += timer.c
|
|
romstage-y += gpio.c
|
|
romstage-y += clock.c
|
|
romstage-$(CONFIG_SDM845_QSPI) += qspi.c
|
|
romstage-y += usb.c
|
|
romstage-y += ../common/qclib.c
|
|
romstage-y += qclib.c
|
|
romstage-y += ../common/mmu.c
|
|
romstage-y += mmu.c
|
|
|
|
################################################################################
|
|
ramstage-y += soc.c
|
|
ramstage-y += spi.c
|
|
ramstage-y += cbmem.c
|
|
ramstage-y += timer.c
|
|
ramstage-y += gpio.c
|
|
ramstage-y += clock.c
|
|
ramstage-$(CONFIG_SDM845_QSPI) += qspi.c
|
|
ramstage-y += usb.c
|
|
|
|
################################################################################
|
|
|
|
CPPFLAGS_common += -Isrc/soc/qualcomm/sdm845/include
|
|
CPPFLAGS_common += -Isrc/soc/qualcomm/common/include
|
|
|
|
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
|
@printf "Generating: $(subst $(obj)/,,$(@))\n"
|
|
cp $(objcbfs)/bootblock.raw.bin $(objcbfs)/bootblock.bin
|
|
|
|
endif
|