diff options
author | Vitja Makarov <vitja.makarov@gmail.com> | 2009-09-04 09:36:53 +0000 |
---|---|---|
committer | Vitja Makarov <vitja.makarov@gmail.com> | 2009-09-04 09:36:53 +0000 |
commit | b5e39c15a55b3e46643bf3b46bb6c664b6cb50a4 (patch) | |
tree | fa4e817f39612c213e76f006f227341abd1d978c /firmware/drivers/tuner | |
parent | 4b4e5e9265a976a7e33ee305690481bb74a1a292 (diff) | |
download | rockbox-b5e39c15a55b3e46643bf3b46bb6c664b6cb50a4.tar.gz rockbox-b5e39c15a55b3e46643bf3b46bb6c664b6cb50a4.zip |
iaudio7: Implement udelay, mostly based on D2 port, except Z-clock initialization
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22620 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/tuner')
-rw-r--r-- | firmware/drivers/tuner/lv24020lp.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/firmware/drivers/tuner/lv24020lp.c b/firmware/drivers/tuner/lv24020lp.c index c6d396aca4..ab37ab8124 100644 --- a/firmware/drivers/tuner/lv24020lp.c +++ b/firmware/drivers/tuner/lv24020lp.c | |||
@@ -82,13 +82,6 @@ static int fd_log = -1; | |||
82 | #define FM_CLOCK_PIN 5 | 82 | #define FM_CLOCK_PIN 5 |
83 | #define FM_DATA_PIN 6 | 83 | #define FM_DATA_PIN 6 |
84 | #define FM_NRW_PIN 7 | 84 | #define FM_NRW_PIN 7 |
85 | /* Remove hack when i7 has udelay */ | ||
86 | static void udelay(int usecs) | ||
87 | { | ||
88 | while (usecs--) | ||
89 | asm("nop;nop;"); | ||
90 | } | ||
91 | |||
92 | #elif defined(COWON_D2) | 85 | #elif defined(COWON_D2) |
93 | #define TUNER_GPIO_OUTPUT_EN GPIOC_DIR | 86 | #define TUNER_GPIO_OUTPUT_EN GPIOC_DIR |
94 | #define TUNER_GPIO_OUTPUT_VAL GPIOC | 87 | #define TUNER_GPIO_OUTPUT_VAL GPIOC |