flash_fp_mcu: Fix Guybrush's gpiochip base from 320 -> 256
BRANCH=none
TEST=None.
@@ -455,17 +455,17 @@ config_zork() {
}
config_guybrush() {
- check_gpio_chip_exists "gpiochip320"
+ check_gpio_chip_exists "gpiochip256"
readonly TRANSPORT="UART"
readonly DEVICE="/dev/ttyS1"
- # FPMCU RST_ODL is on AGPIO 11 = 320 + 11 = 331
- readonly GPIO_NRST=331
- # FPMCU BOOT0 is on AGPIO 144 = 320 + 144 = 464
- readonly GPIO_BOOT0=464
- # FPMCU PWR_EN is on AGPIO 32 = 320 + 32 = 352, but should not be
+ # FPMCU RST_ODL is on AGPIO 11 = 256 + 11 = 267
+ readonly GPIO_NRST=267
+ # FPMCU BOOT0 is on AGPIO 144 = 256 + 144 = 400
+ readonly GPIO_BOOT0=400
+ # FPMCU PWR_EN is on AGPIO 32 = 256 + 32 = 288, but should not be
# necessary for flashing. Set invalid value.
readonly GPIO_PWREN=-1
}
