Adding boot-from-flash functionality