mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-20 21:13:36 +08:00
rpi-eeprom-update: Use flashrom by default on Pi5
Use flashrom by default on Pi5 unless the the RPI_EEPROM_USE_FLASHROM environment variable has been set to zero OR flashrom is not available.
This commit is contained in:
@@ -397,6 +397,8 @@ checkDependencies() {
|
||||
EEPROM_SIZE=2097152
|
||||
BOOTLOADER_AUTO_UPDATE_MIN_VERSION="${BOOTLOADER_AUTO_UPDATE_MIN_VERSION:-1704470260}"
|
||||
SPIDEV=/dev/spidev10.0
|
||||
# Default is to use flashrom if availableon BCM2712
|
||||
RPI_EEPROM_USE_FLASHROM=${RPI_EEPROM_USE_FLASHROM:-1}
|
||||
else
|
||||
chipNotSupported
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user