summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/pcm-coldfire.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c
index 720c77e434..0662e289a0 100644
--- a/firmware/target/coldfire/pcm-coldfire.c
+++ b/firmware/target/coldfire/pcm-coldfire.c
@@ -21,11 +21,7 @@
#include "kernel.h"
#include "logf.h"
#include "audio.h"
-#if defined(HAVE_UDA1380)
-#include "uda1380.h"
-#elif defined(HAVE_TLV320)
-#include "tlv320.h"
-#endif
+#include "sound.h"
#if defined(HAVE_SPDIF_IN) || defined(HAVE_SPDIF_OUT)
#include "spdif.h"
#endif
@@ -273,6 +269,11 @@ void pcm_init(void)
and_l(~(1 << 14), &IMR); /* bit 14 is DMA0 */
} /* pcm_init */
+void pcm_postinit(void)
+{
+ audiohw_postinit();
+}
+
size_t pcm_get_bytes_waiting(void)
{
return BCR0 & 0xffffff;