Re: [PATCH v1 3/5] arm: fix no prototype for barebox_arm_reset_vector()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sasha.

> > +void __naked __bare_init barebox_arm_reset_vector(void);
> 
> I had to drop this one as it breaks compilation on some boards. Some
> boards need r0 from the ROM so they have:
> 
> void __naked __bare_init barebox_arm_reset_vector(uint32_t *data)
> 
> We have to harmonize these first.
Sorry - I did not test more than a few boards.

> I suggest to use
> 
> void __naked __bare_init barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint32_t r2)
Like the prototype we have for the multi images.
I added this to the TODO list in the doc I just posted.

	Sam

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux