arm: make sure the signature is aligned

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-04-26 08:04:04 -04:00
parent b5303fa5f7
commit e2c58fb6a6
No known key found for this signature in database
GPG Key ID: 7027245FBBDDF59A

View File

@ -80,6 +80,7 @@ reset_handler_stage_two(void)
// Reset interrupts and stack to take control from bootloaders. Implemented
// Kevin's recommendation.
asm(".section .text.ResetHandler\n"
".balign 8\n"
".8byte " __stringify(CANBOOT_SIGNATURE) "\n"
".global ResetHandler\n"
".type ResetHandler, %function\n"