First we added a little correction to our patch. No consequence for TC0 users but the ones who are thinking about using TC1 or TC2 should have the problems. In our adeos-at91 patch, at line 179, this +#if (CONFIG_IPIPE_AT91_TC==0) +# define KERNEL_TIMER_IRQ_NUM AT91_ID_TC0 +#elif (CONFIG_IPIPE_AT91_TC==1) +# define KERNEL_TIMER_IRQ_NUM AT91_ID_TC0 +#elif (CONFIG_IPIPE_AT91_TC==2) +# define KERNEL_TIMER_IRQ_NUM AT91_ID_TC0 +#else +#error IPIPE_AT91_TC must be 0, 1 or 2. +#endif
has been corrected by : +#if (CONFIG_IPIPE_AT91_TC==0) +# define KERNEL_TIMER_IRQ_NUM AT91_ID_TC0 +#elif (CONFIG_IPIPE_AT91_TC==1) +# define KERNEL_TIMER_IRQ_NUM AT91_ID_TC1 +#elif (CONFIG_IPIPE_AT91_TC==2) +# define KERNEL_TIMER_IRQ_NUM AT91_ID_TC2 +#else +#error IPIPE_AT91_TC must be 0, 1 or 2. +#endif Sorry for inconveniance. Thus, we are thinking about moving this common part to hardware.h cause these defines are duplicated in at91rm9200_time.c and in at91sam926x_time.c. The interest is to make this part easier to maintain.
adeos-ipipe-2.6.19-arm-AT91.patch
Description: adeos-ipipe-2.6.19-arm-AT91.patch
_______________________________________________ Adeos-main mailing list [email protected] https://mail.gna.org/listinfo/adeos-main
