Advertising
- Someone
- Friday, September 28th, 2007 at 2:05:07am MDT
- Index: firmware/kernel.c
- ===================================================================
- --- firmware/kernel.c (revision 14873)
- +++ firmware/kernel.c (working copy)
- @@ -753,7 +753,7 @@
- EPITSR1 = 1; /* Clear the interrupt request */
- }
- #endif
- -#endif
- +#endif /* CONFIG_CPU == IMX31L */
- int tick_add_task(void (*f)(void))
- {
- Index: firmware/target/arm/sandisk/ata-c200_e200.c
- ===================================================================
- --- firmware/target/arm/sandisk/ata-c200_e200.c (revision 14873)
- +++ firmware/target/arm/sandisk/ata-c200_e200.c (working copy)
- @@ -153,7 +153,9 @@
- };
- /* Shoot for around 75% usage */
- +#ifndef BOOTLOADER
- static long sd_stack [(DEFAULT_STACK_SIZE*2 + 0x1c0)/sizeof(long)];
- +#endif
- static const char sd_thread_name[] = "ata/sd";
- static struct mutex sd_mtx;
- static struct event_queue sd_queue;
- @@ -1143,6 +1145,7 @@
- GPIOG_OUTPUT_VAL |= (0x3 << 5);
- /* enable card detection port - mask interrupt first */
- +#ifndef BOOTLOADER
- GPIOA_INT_EN &= ~0x80;
- GPIOA_OUTPUT_EN &= ~0x80;
- @@ -1167,6 +1170,7 @@
- GPIOA_INT_CLR = 0x80;
- GPIOA_INT_EN |= 0x80;
- +#endif
- spinlock_unlock(&sd_mtx);
- }
- Index: firmware/drivers/button.c
- ===================================================================
- --- firmware/drivers/button.c (revision 14873)
- +++ firmware/drivers/button.c (working copy)
- @@ -362,7 +362,9 @@
- button_read();
- lastbtn = button_read();
- +#ifndef BOOTLOADER
- tick_add_task(button_tick);
- +#endif
- reset_poweroff_timer();
- #ifdef HAVE_LCD_BITMAP
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.