Skip to content

Commit

Permalink
walleye: gpt-utils: Squashed PTN_SWAP_LIST additions
Browse files Browse the repository at this point in the history
Author: Thierry Strudel <[email protected]>
Date:   Thu May 4 18:15:01 2017 -0700
    gpt-utils: PTN_SWAP_LIST add the missing new partitions

    abl, dtbo, vbmeta were not part of the list updated by bootctl HAL.
    This will fix the issue but bootctl HAL should be rewritten to not
    detect A/B partition candidate at runtime.

    Bug: 37501587
    Change-Id: I64140d9fce8d142e16a12c9778f1b10394f9dc76
    Signed-off-by: Thierry Strudel <[email protected]>

Author: Patrick Tjin <[email protected]>
Date:   Tue Jul 25 19:26:1 2017 -0700
    Add aes as A/B OTA partition

    Bug: 37554629
    Change-Id: I162150922683000dbfc0beceab807d46bd51325e

Author: Patrick Tjin <[email protected]>
Date:   Wed May 10 15:36:34 2017 -0700
    Add laf partition to swap list.

    Bug: 37743272
    Change-Id: If9521bbd29af9439aa01ac72c8bb8cbc0bf674b6

Change-Id: I8aa1386206e6b675a4b7d1e696841f23f5955c2d
  • Loading branch information
Thierry Strudel authored and PixelBoot committed Feb 18, 2024
1 parent 9bfcac4 commit fc4e0f7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gpt-utils/gpt-utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,12 @@ extern "C" {
#define AB_SLOT_A_SUFFIX "_a"
#define AB_SLOT_B_SUFFIX "_b"
#define PTN_XBL "xbl"
#define PTN_SWAP_LIST PTN_XBL, "sbl1", "rpm", "tz", "aboot", "hyp", "lksecapp", "keymaster", "cmnlib", "cmnlib32", "cmnlib64", "pmic", "apdp", "devcfg", "hosd", "keystore", "msadp"
#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "modem", "bluetooth"
#define PTN_SWAP_LIST PTN_XBL, \
"abl", "aboot", "aes", "apdp", "bootlocker", "cmnlib", "cmnlib32", \
"cmnlib64", "devcfg", "dtbo", "hosd", "hyp", "laf", "keymaster", \
"lockbooter", "msadp", "pmic", "rpm", "storsec", \
"trusty", "tz", "vbmeta"
#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "modem"
#define BOOT_DEV_DIR "/dev/block/bootdevice/by-name"

/******************************************************************************
Expand Down

0 comments on commit fc4e0f7

Please sign in to comment.