Implement kexec-hardboot

M7 kexec-hardboot patch, courtesy of Tasssadar