]> git.dujemihanovic.xyz Git - u-boot.git/commit
fastboot: check for alias when looking up partition by name
authorMichael Scott <michael.scott@linaro.org>
Wed, 11 Mar 2015 17:02:31 +0000 (10:02 -0700)
committerLukasz Majewski <l.majewski@samsung.com>
Tue, 14 Apr 2015 08:19:04 +0000 (10:19 +0200)
commit8a41802f21cc270cb00ac7dc1263a4c136c9a31c
treed9249131c9e5e03a7787be821f8f67b3c0ea3239
parent0a9ac5cb5e3c5a7f0c231432a0f7b690a03d8c8b
fastboot: check for alias when looking up partition by name

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: Michael Scott <michael.scott@linaro.org>
Acked-by: Steve Rae <srae@broadcom.com>
Cc: Steve Rae <srae@broadcom.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
common/fb_mmc.c
doc/README.android-fastboot