rpi-eeprom-update: Mark USE_FLASHROM as deprecated.

This commit is contained in:
Tim Gover
2020-05-26 09:30:48 +01:00
parent 21bd52daa0
commit 5fb23cfcb8

View File

@@ -187,6 +187,7 @@ applyUpdate() {
fi
if [ -f "${BOOTLOADER_UPDATE_IMAGE}" ]; then
echo "WARNING: USE_FLASHROM is deprecated."
# Bootloader EEPROM chip-select is muxed with audio pin so disable audio
# LDO first to avoid sending noise to analog audio.
"${VCMAILBOX}" 0x00030056 4 4 0 > /dev/null || true
@@ -358,6 +359,9 @@ and POWER_OFF_ON_HALT settings.
USE_FLASHROM
USE_FLASHROM is deprecated and there is no support for this. The muxing
of the SPI pins causes too many issues for this to ever be reliable.
The flashrom update mechanism may be enabled by setting USE_FLASHROM=1. This
also selects the vl805 tool instead of using recovery.bin to perform the
update. This may be desirable if an immediate update is required or if an