Merge pull request #25 from mbolivar/arduino-101-conf
arm fixes from x86 changes
This commit is contained in:
commit
ff4658e44f
|
@ -49,8 +49,8 @@ static void do_boot(struct boot_rsp *rsp)
|
|||
* consecutively. Manually set the stack pointer and jump into the
|
||||
* reset vector
|
||||
*/
|
||||
vt = (struct vector_table *)(rsp->br_image_addr +
|
||||
rsp->br_hdr->ih_hdr_size);
|
||||
vt = (struct arm_vector_table *)(rsp->br_image_addr +
|
||||
rsp->br_hdr->ih_hdr_size);
|
||||
irq_lock();
|
||||
_MspSet(vt->msp);
|
||||
((void (*)(void))vt->reset)();
|
||||
|
|
Loading…
Reference in New Issue