diff --git a/iopsys-brcm63xx-arm/base-files/lib/upgrade/target.sh b/iopsys-brcm63xx-arm/base-files/lib/upgrade/target.sh index 8f84b9f7100db70c299fc945d0705b78882c218b..0ecf9753faf885372a5a59c50a65ec4126b50522 100644 --- a/iopsys-brcm63xx-arm/base-files/lib/upgrade/target.sh +++ b/iopsys-brcm63xx-arm/base-files/lib/upgrade/target.sh @@ -28,3 +28,12 @@ target_set_flashbank_boot() { source /lib/upgrade/broadcom-iopsys-5.sh && \ upgrade_commit $@" || return } + + + +#-------------------------------------------------------------- +# Return what "bank" the bootloader will select next time. +target_get_flashbank_boot() { + source "/lib/upgrade/broadcom-iopsys-5.sh" || return + cfe_get_boot_flashbank || return +}