taimen: gpt-utils: Squashed PTN_SWAP_LIST additions

Author: Thierry Strudel <tstrudel@google.com>
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 <tstrudel@google.com>

Author: Patrick Tjin <pattjin@google.com>
Date:   Tue Jul 25 19:26:1 2017 -0700
    Add aes as A/B OTA partition

    Bug: 37554629
    Change-Id: I162150922683000dbfc0beceab807d46bd51325e

Author: Patrick Tjin <pattjin@google.com>
Date:   Wed May 10 15:36:34 2017 -0700
    Add laf partition to swap list.

    Bug: 37743272
    Change-Id: If9521bbd29af9439aa01ac72c8bb8cbc0bf674b6

Change-Id: I8aa1386206e6b675a4b7d1e696841f23f5955c2d
This commit is contained in:
Thierry Strudel
2017-05-04 18:15:01 -07:00
committed by Asriadi
parent 72d3b192f3
commit 9dfb99c02a

View File

@@ -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"
/******************************************************************************