* dont compile audio codec drivers for bootloader, as we dont need them -> saves time

* dont include uda1380 in bootloaders
* fix to get rid of a nasty humming sound during is not uda1380 specific but iriver
  specific and so put the fix into the bootloader. An other option was to 
  put audiohw_reset() into target tree... but i want to get rid of audiohw_reset


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15721 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Christian Gmeiner 2007-11-20 12:09:59 +00:00
parent 41a67a7e90
commit 21ac3110f1
3 changed files with 19 additions and 9 deletions

View file

@ -41,7 +41,6 @@
#include "power.h"
#include "powermgmt.h"
#include "file.h"
#include "uda1380.h"
#include "eeprom_settings.h"
#include "rbunicode.h"
#include "common.h"
@ -444,8 +443,15 @@ void main(void)
# endif
backlight_init();
#ifdef HAVE_UDA1380
audiohw_reset();
/* get rid of a nasty humming sound during boot
-> RESET signal */
or_l(1<<29, &GPIO_OUT);
or_l(1<<29, &GPIO_ENABLE);
or_l(1<<29, &GPIO_FUNCTION);
sleep(HZ/100);
and_l(~(1<<29), &GPIO_OUT);
#endif
lcd_init();