## @file # One Key Battery DXE Driver. # #****************************************************************************** #* Copyright (c) 2020, Insyde Software Corp. All Rights Reserved. #* #* You may not reproduce, distribute, publish, display, perform, modify, adapt, #* transmit, broadcast, present, recite, release, license or otherwise exploit #* any part of this publication in any form, by any means, without the prior #* written permission of Insyde Software Corporation. #* #****************************************************************************** [Defines] INF_VERSION = 0x00010005 BASE_NAME = OneKeyBatteryDxe FILE_GUID = 6a8209ed-5d36-4906-a316-5541006f558e MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 ENTRY_POINT = OneKeyBatteryDxeEntryPoint [Packages] $(PROJECT_PKG)/Project.dec $(OEM_FEATURE_OVERRIDE_CORE_CODE)/$(OEM_FEATURE_OVERRIDE_CORE_CODE).dec $(OEM_FEATURE_COMMON_PATH)/$(OEM_FEATURE_COMMON_PATH).dec $(CHIPSET_PKG)/$(CHIPSET_PKG).dec ## ChipsetSetupConfig.h !if $(L05_CHIPSET_VENDOR) == INTEL $(CHIPSET_REF_CODE_PKG)/$(CHIPSET_REF_CODE_DEC_NAME).dec ## PchLimits.h !endif InsydeModulePkg/InsydeModulePkg.dec MdePkg/MdePkg.dec !if $(CHIPSET_PKG) == JasperLakeChipsetPkg || $(CHIPSET_PKG) == AlderLakeChipsetPkg $(PLATFORM_SAMPLE_CODE_DEC_NAME)/PlatformPkg.dec ## PcdUpServerEnable !endif #[-start-210702-Dongxu0008-add]# !if $(LCFC_SUPPORT_ENABLE) == YES LfcPkg/LfcPkg.dec !endif #[-end-210702-Dongxu0008-add]# #[-start-211112-OWENWU0022-add]# !if $(S370_SUPPORT_ENABLE) == YES || $(S570_SUPPORT_ENABLE) == YES $(CHIPSET_PKG)/$(CHIPSET_PKG).dec !endif #[-end-211112-OWENWU0022-add]# [Sources] OneKeyBatteryDxe.c OneKeyBatteryDxe.h Ui.c Ui.h [LibraryClasses] UefiLib UefiBootServicesTableLib UefiRuntimeServicesTableLib UefiDriverEntryPoint IoLib BaseLib TimerLib DevicePathLib DxeOemSvcFeatureLibDefault H2OCpLib DxeServicesLib VariableLib #[-start-210702-Dongxu0008-add]# CmosLib #[-end-210702-Dongxu0008-add]# #[-start-211112-OWENWU0022-add]# !if $(S370_SUPPORT_ENABLE) == YES || $(S570_SUPPORT_ENABLE) == YES VariableLib !endif #[-end-211112-OWENWU0022-add]# [Protocols] gEfiGraphicsOutputProtocolGuid gEfiDevicePathProtocolGuid gEfiPngDecoderProtocolGuid #[-start-211112-OWENWU0022-add]# !if $(S370_SUPPORT_ENABLE) == YES || $(S570_SUPPORT_ENABLE) == YES gEfiAtaPassThruProtocolGuid gEfiResetNotificationProtocolGuid !endif #[-end-211112-OWENWU0022-add]# gEfiSetupUtilityProtocolGuid [Guids] gH2OBdsCpConOutConnectAfterGuid gSystemConfigurationGuid #[-start-211112-OWENWU0022-add# !if $(S370_SUPPORT_ENABLE) == YES || $(S570_SUPPORT_ENABLE) == YES gH2OBdsCpDisplayBeforeGuid gSaSetupVariableGuid !endif #[-end-211112-OWENWU0022-add]# [Pcd] [FixedPcd] !if $(CHIPSET_PKG) == JasperLakeChipsetPkg|| $(CHIPSET_PKG) == AlderLakeChipsetPkg gPlatformModuleTokenSpaceGuid.PcdUpServerEnable !endif [Depex] TRUE [BuildOptions] !if $(INSYDE_DEBUGGER) == YES MSFT:*_*_*_CC_FLAGS = /Od !endif