Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Someone
Friday, September 28th, 2007 at 8:05:07am UTC 

  1. Index: firmware/kernel.c
  2. ===================================================================
  3. --- firmware/kernel.c   (revision 14873)
  4. +++ firmware/kernel.c   (working copy)
  5. @@ -753,7 +753,7 @@
  6.      EPITSR1 = 1;            /* Clear the interrupt request */
  7.  }
  8.  #endif
  9. -#endif
  10. +#endif /* CONFIG_CPU == IMX31L */
  11.  
  12.  int tick_add_task(void (*f)(void))
  13.  {
  14. Index: firmware/target/arm/sandisk/ata-c200_e200.c
  15. ===================================================================
  16. --- firmware/target/arm/sandisk/ata-c200_e200.c (revision 14873)
  17. +++ firmware/target/arm/sandisk/ata-c200_e200.c (working copy)
  18. @@ -153,7 +153,9 @@
  19.  };
  20.  
  21.  /* Shoot for around 75% usage */
  22. +#ifndef BOOTLOADER
  23.  static long sd_stack [(DEFAULT_STACK_SIZE*2 + 0x1c0)/sizeof(long)];
  24. +#endif
  25.  static const char         sd_thread_name[] = "ata/sd";
  26.  static struct mutex       sd_mtx;
  27.  static struct event_queue sd_queue;
  28. @@ -1143,6 +1145,7 @@
  29.          GPIOG_OUTPUT_VAL |= (0x3 << 5);
  30.  
  31.          /* enable card detection port - mask interrupt first */
  32. +#ifndef BOOTLOADER
  33.          GPIOA_INT_EN     &= ~0x80;
  34.  
  35.          GPIOA_OUTPUT_EN  &= ~0x80;
  36. @@ -1167,6 +1170,7 @@
  37.  
  38.          GPIOA_INT_CLR = 0x80;
  39.          GPIOA_INT_EN |= 0x80;
  40. +#endif
  41.  
  42.          spinlock_unlock(&sd_mtx);
  43.      }
  44. Index: firmware/drivers/button.c
  45. ===================================================================
  46. --- firmware/drivers/button.c   (revision 14873)
  47. +++ firmware/drivers/button.c   (working copy)
  48. @@ -362,7 +362,9 @@
  49.      
  50.      button_read();
  51.      lastbtn = button_read();
  52. +#ifndef BOOTLOADER
  53.      tick_add_task(button_tick);
  54. +#endif
  55.      reset_poweroff_timer();
  56.  
  57.  #ifdef HAVE_LCD_BITMAP

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right worth-right