diff options
Diffstat (limited to 'baseboard/kukui/build.mk')
-rw-r--r-- | baseboard/kukui/build.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/baseboard/kukui/build.mk b/baseboard/kukui/build.mk index ebd0882707..c64f6978c8 100644 --- a/baseboard/kukui/build.mk +++ b/baseboard/kukui/build.mk @@ -6,9 +6,12 @@ # Baseboard specific files build # +# Select eMMC CMD0 driver. +EMMC_CMD0_DRIVER=$(if $(CHIP_IT83XX),emmc_ite.o,emmc.o) + baseboard-y=baseboard.o baseboard-$(CONFIG_USB_POWER_DELIVERY)+=usb_pd_policy.o -baseboard-$(CONFIG_BOOTBLOCK)+=emmc.o +baseboard-$(CONFIG_BOOTBLOCK)+=$(EMMC_CMD0_DRIVER) baseboard-$(VARIANT_KUKUI_BATTERY_MAX17055)+=battery_max17055.o baseboard-$(VARIANT_KUKUI_BATTERY_MM8013)+=battery_mm8013.o @@ -19,7 +22,7 @@ baseboard-$(VARIANT_KUKUI_CHARGER_MT6370)+=charger_mt6370.o baseboard-$(VARIANT_KUKUI_POGO_KEYBOARD)+=base_detect_kukui.o -$(out)/RO/baseboard/$(BASEBOARD)/emmc.o: $(out)/bootblock_data.h +$(out)/RO/baseboard/$(BASEBOARD)/$(EMMC_CMD0_DRIVER): $(out)/bootblock_data.h # bootblock size from 12769.0 DEFAULT_BOOTBLOCK_SIZE:=21504 |