From: lzy2835 <66907230+qaz6750@users.noreply.github.com> Date: 星期六, 17 Sep 2022 10:58:20 +0000 (+0800) Subject: sdm845: trident : Add A/B slot switching [skip ci] X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=43248da1a1a223e4d66175ef757c54a54e70f876;p=edk2-sdm845.git sdm845: trident : Add A/B slot switching [skip ci] --- diff --git a/sdm845Pkg/Devices/trident.fdf b/sdm845Pkg/Devices/trident.fdf index f27e923..e07e9e8 100644 --- a/sdm845Pkg/Devices/trident.fdf +++ b/sdm845Pkg/Devices/trident.fdf @@ -613,13 +613,14 @@ APRIORI DXE { # # OnePlus 6(T) A/B Slot Support # -# !ifdef $(AB_SLOTS_SUPPORT) -# INF sdm845Pkg/Application/SwitchSlotsApp/SwitchSlotsApp.inf -# INF sdm845Pkg/Drivers/BootSlotDxe/BootSlotDxe.inf -# !else -# # Old unstable solution, remove once BootSlotDxe fully tested -# INF sdm845Pkg/Drivers/Op6tSlotDxe/Op6tSlotDxe.inf -# !endif #$(AB_SLOTS_SUPPORT) +!ifdef $(AB_SLOTS_SUPPORT) + INF sdm845Pkg/Application/SwitchSlotsApp/SwitchSlotsApp.inf + INF sdm845Pkg/Drivers/BootSlotDxe/BootSlotDxe.inf +!else + # Old unstable solution, remove once BootSlotDxe fully tested + INF sdm845Pkg/Drivers/Op6tSlotDxe/Op6tSlotDxe.inf +!endif #$(AB_SLOTS_SUPPORT) + [FV.FVMAIN_COMPACT]