fix custom boot

Change-Id: Id093eb9ed707abe1c23ec2b7f4a1d63552ffecc1