bootloader: Use lower stack address, if/else instead of switch/case.