• Michael Scott's avatar
    fastboot: check for alias when looking up partition by name · 8a41802f
    Michael Scott authored
    
    
    Implement an alias name check for devices where GPT limitations prevent
    user-friendly partition names such as "boot", "system" and "cache". Or,
    where the actual partition name doesn't match a standard partition name
    used commonly with fastboot.
    
    To set an alias, add an environment setting as follows:
    fastboot_partition_alias_<alias partition name>=<actual partition name>
    
    Example: fastboot_partition_alias_boot=LNX
    
    Signed-off-by: default avatarMichael Scott <michael.scott@linaro.org>
    Acked-by: default avatarSteve Rae <srae@broadcom.com>
    Cc: Steve Rae <srae@broadcom.com>
    Cc: Lukasz Majewski <l.majewski@samsung.com>
    8a41802f