[arm] only restore the relevant parts of cpsr in arm debug code
[arm] only restore the relevant parts of cpsr in arm debug code

utilite2/lk,nvll/lk,minglun-tsai/lk,jcsullins/moboot,Blefish/android_bootable_bootloader_lk,zhuotong/mi2_lk_NoEmmc,MiCode/mi2_lk,Blefish/android_bootable_bootloader_lk,RonGokhale/android_lk_bootloader,M1cha/lktris,utilite2/lk,jsr-d9/android_kernel_lk,hanjae/lumiab0,hanjae/lumiab0,M1cha/lk,my4ndr0id/android_bootable_bootloader_lk,jsr-d10/android_bootable_bootloader_lk,travisg/lk,my4ndr0id/android_bootable_bootloader_lk,jcsullins/moboot,pichina/lk,minglun-tsai/lk,mozilla-b2g/fairphone2_kernel_lk,t2m-foxfone/android_kernel_lk,RonGokhale/android_lk_bootloader,efidroid/lk,CanarySolutions/little-kernel,M1cha/lk,mozilla-b2g/fairphone2_kernel_lk,minglun-tsai/lk,nvll/lk,sndnvaps/lk,jsr-d10/android_bootable_bootloader_lk,jsr-d10/android_bootable_bootloader_lk,M1cha/android_bootable_bootloader_lk,srodrig1/lk,sndnvaps/lk,detule/lk-g2-spr,M1cha/lktris,pichina/lk,srodrig1/lk,efidroid/lk,ErikCorryGoogle/lk,RonGokhale/android_lk_bootloader,my4ndr0id/android_bootable_bootloader_lk,detule/lk-g2-spr,MiCode/mi2_lk,Foxda-Tech/argo8-bootable-bootloader-lk,M1cha/mi2_lk,M1cha/lk,nvll/lk,Redmi-dev/android_bootable_lk,M1cha/mi2_lk,DooMLoRD/android_bootable_bootloader_lk,utilite2/lk,detule/lk-g2-spr,skabet/lk,idor/dk50-bootable_bootloader_lk,M1cha/lk,mozilla-b2g/kernel_lk,M1cha/android_bootable_bootloader_lk,travisg/lk,grub4android/lk,MiCode/mi2_lk,chirayudesai/android_bootable_bootloader_lk,M1cha/mi2_lk,idor/dk50-bootable_bootloader_lk,pichina/lk,lg-devs/g2-bootloader,jbott/lk_gee,GCrean/lk,t2m-foxfone/android_kernel_lk,CanarySolutions/little-kernel,Foxda-Tech/polaris-bootable-bootloader-lk,Foxda-Tech/polaris-bootable-bootloader-lk,efidroid/lk,t2m-foxfone/kernel_lk,mozilla-b2g/kernel_lk,thornbirdblue/codeaurora_lk,Foxda-Tech/polaris-bootable-bootloader-lk,t2m-foxfone/kernel_lk,detule/lk-g2-spr,jsr-d9/android_kernel_lk,utilite2/lk,efidroid/lk,pablomarx/lk,idor/dk50-bootable_bootloader_lk,beidl/lk_umia,my4ndr0id/android_bootable_bootloader_lk,zhuotong/mi2_lk_NoEmmc,oubeichen/lk-v500,jsr-d10/android_bootable_bootloader_lk,chirayudesai/android_bootable_bootloader_lk,oubeichen/lk-v500,idor/dk50-bootable_bootloader_lk,M1cha/lktris,GCrean/lk,beidl/lk_umia,jcsullins/moboot,xndcn/moboot-for-veer,littlekernel/lk,thornbirdblue/codeaurora_lk,littlekernel/lk,Foxda-Tech/argo8-bootable-bootloader-lk,minglun-tsai/lk,hanjae/lumiab0,Redmi-dev/android_bootable_lk,M1cha/mi2_lk,jsr-d9/android_kernel_lk,beidl/lk_umia,MiCode/mi2_lk,pablomarx/lk,CanarySolutions/little-kernel,nvll/lk,jbott/lk_gee,chirayudesai/android_bootable_bootloader_lk,pablomarx/lk,t2m-foxfone/android_kernel_lk,DooMLoRD/android_bootable_bootloader_lk,CanarySolutions/little-kernel,DooMLoRD/android_bootable_bootloader_lk,Foxda-Tech/argo8-bootable-bootloader-lk,Redmi-dev/android_bootable_lk,ianloic/lk,pichina/lk,oubeichen/lk-v500,xndcn/moboot-for-veer,sndnvaps/lk,jcsullins/moboot,sndnvaps/lk,MiCode/mi2_lk,RonGokhale/android_lk_bootloader,my4ndr0id/android_bootable_bootloader_lk,ianloic/lk,utilite2/lk,jbott/lk_gee,idor/dk50-bootable_bootloader_lk,mozilla-b2g/kernel_lk,Foxda-Tech/argo8-bootable-bootloader-lk,skabet/lk,skabet/lk,Foxda-Tech/argo8-bootable-bootloader-lk,thornbirdblue/codeaurora_lk,t2m-foxfone/kernel_lk,hollanderic/lkstuff,t2m-foxfone/android_kernel_lk,beidl/lk_umia,M1cha/lk,lg-devs/g2-bootloader,detule/lk-g2-spr,pablomarx/lk,oubeichen/lk-v500,chirayudesai/android_bootable_bootloader_lk,lg-devs/g2-bootloader,jbott/lk_gee,srodrig1/lk,DooMLoRD/android_bootable_bootloader_lk,pablomarx/lk,xndcn/moboot-for-veer,thornbirdblue/codeaurora_lk,M1cha/android_bootable_bootloader_lk,skabet/lk,zhuotong/mi2_lk_NoEmmc,xndcn/moboot-for-veer,grub4android/lk,ianloic/lk,lg-devs/g2-bootloader,M1cha/mi2_lk,t2m-foxfone/kernel_lk,grub4android/lk,grub4android/lk,jbott/lk_gee,Foxda-Tech/polaris-bootable-bootloader-lk,GCrean/lk,hanjae/lumiab0,t2m-foxfone/android_kernel_lk,jsr-d10/android_bootable_bootloader_lk,hollanderic/lkstuff,srodrig1/lk,GCrean/lk,Redmi-dev/android_bootable_lk,skabet/lk,mozilla-b2g/fairphone2_kernel_lk,grub4android/lk,Blefish/android_bootable_bootloader_lk,zhuotong/mi2_lk_NoEmmc,mozilla-b2g/fairphone2_kernel_lk,thornbirdblue/codeaurora_lk,beidl/lk_umia,zhuotong/mi2_lk_NoEmmc,mozilla-b2g/fairphone2_kernel_lk,M1cha/lktris,M1cha/android_bootable_bootloader_lk,hollanderic/lkstuff,jcsullins/moboot,littlekernel/lk,srodrig1/lk,DooMLoRD/android_bootable_bootloader_lk,chirayudesai/android_bootable_bootloader_lk,Foxda-Tech/polaris-bootable-bootloader-lk,oubeichen/lk-v500,travisg/lk,lg-devs/g2-bootloader,M1cha/android_bootable_bootloader_lk,mozilla-b2g/kernel_lk,mozilla-b2g/kernel_lk,Redmi-dev/android_bootable_lk,littlekernel/lk,pichina/lk,jcsullins/moboot,t2m-foxfone/kernel_lk,ErikCorryGoogle/lk,hollanderic/lkstuff,Blefish/android_bootable_bootloader_lk,M1cha/android_bootable_bootloader_lk,ianloic/lk,nvll/lk,efidroid/lk,travisg/lk,RonGokhale/android_lk_bootloader,ErikCorryGoogle/lk,CanarySolutions/little-kernel,GCrean/lk,ErikCorryGoogle/lk,jsr-d9/android_kernel_lk,hanjae/lumiab0,M1cha/lktris,jsr-d9/android_kernel_lk,xndcn/moboot-for-veer,Blefish/android_bootable_bootloader_lk,sndnvaps/lk