Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: firmware/target/arm/s5l8700/ata-nand-s5l8700.c
- ===================================================================
- --- firmware/target/arm/s5l8700/ata-nand-s5l8700.c (revision 27955)
- +++ firmware/target/arm/s5l8700/ata-nand-s5l8700.c (working copy)
- @@ -19,6 +19,7 @@
- *
- ****************************************************************************/
- #include "config.h"
- +#include "ata_idle_notify.h"
- #include "system.h"
- #include <string.h>
- #include "thread.h"
- Index: firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c
- ===================================================================
- --- firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c (revision 27955)
- +++ firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c (working copy)
- @@ -31,7 +31,6 @@
- #include <mmu-arm.h>
- #include <string.h>
- #include "led.h"
- -#include "ata_idle_notify.h"
- #define NAND_CMD_READ 0x00
- @@ -91,7 +90,7 @@
- static int nand_interleaved = 0;
- static int nand_cached = 0;
- static long nand_last_activity_value = -1;
- -static long nand_stack[DEFAULT_STACK_SIZE];
- +static long nand_stack[32];
- static struct mutex nand_mtx;
- static struct wakeup nand_wakeup;
- @@ -720,10 +719,7 @@
- {
- if (TIME_AFTER(current_tick, nand_last_activity_value + HZ / 5)
- && nand_powered)
- - {
- - call_storage_idle_notifys(false);
- nand_power_down();
- - }
- sleep(HZ / 10);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement