From 43248da1a1a223e4d66175ef757c54a54e70f876 Mon Sep 17 00:00:00 2001 From: lzy2835 <66907230+qaz6750@users.noreply.github.com> Date: Sat, 17 Sep 2022 18:58:20 +0800 Subject: [PATCH] sdm845: trident : Add A/B slot switching [skip ci] --- sdm845Pkg/Devices/trident.fdf | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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] -- 2.45.2