Fix bootloader uninstallation on Gigabeat F / X.
commit4f3d8bfeb5a0f400738e8567d6d54dc9da47808f
authorbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sat, 25 Jun 2011 17:21:01 +0000 (25 17:21 +0000)
committerbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sat, 25 Jun 2011 17:21:01 +0000 (25 17:21 +0000)
tree593b53da5f886841717a6a363a621232a3d564fd
parent5d45d54b45a899b3267ddcc8ccdda0b34fbfab21
Fix bootloader uninstallation on Gigabeat F / X.

The "file" bootloader installation method usually can uninstall the bootloader.
Some upgrade methods (like the Iaudio players) remove the bootloader file
placed on the player after upgrading so those can't uninstall the bootloader.
Instead of rejecting uninstallation for all players using this method check the
current bootloader and only display an error if no suitable bootloader is
found (which would happen in the Iaudio case).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30070 a1c6a512-1295-4272-9138-f99709370657
rbutil/rbutilqt/base/bootloaderinstallfile.cpp
rbutil/rbutilqt/rbutilqt.cpp