sdm845: trident : Add A/B slot switching [skip ci]
authorlzy2835 <66907230+qaz6750@users.noreply.github.com>
星期六, 17 Sep 2022 10:58:20 +0000 (18:58 +0800)
committerGitHub <noreply@github.com>
星期六, 17 Sep 2022 10:58:20 +0000 (18:58 +0800)
sdm845Pkg/Devices/trident.fdf

index f27e923e4de0fc0d5223d52140d220beb17e390b..e07e9e8003399efef9e9d36dbaa655b4dbc8aaee 100644 (file)
@@ -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]