summaryrefslogtreecommitdiff
path: root/apps/codecs/demac/libdemac/demac_iram.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-11-16 17:49:37 +0000
committerJens Arnold <amiconn@rockbox.org>2008-11-16 17:49:37 +0000
commit1b14167861bb5bf4c692f8fc661b33e26a706183 (patch)
tree5a635ce1c95dd74235b29bd23ae9cd9bd4a8e93a /apps/codecs/demac/libdemac/demac_iram.h
parent66ff812c4a4fb5bb39c6056a10d814944bda92dc (diff)
downloadrockbox-1b14167861bb5bf4c692f8fc661b33e26a706183.tar.gz
rockbox-1b14167861bb5bf4c692f8fc661b33e26a706183.zip
Centralise compile-time configuration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19121 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/demac/libdemac/demac_iram.h')
-rw-r--r--apps/codecs/demac/libdemac/demac_iram.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/apps/codecs/demac/libdemac/demac_iram.h b/apps/codecs/demac/libdemac/demac_iram.h
deleted file mode 100644
index 5dd02f812d..0000000000
--- a/apps/codecs/demac/libdemac/demac_iram.h
+++ /dev/null
@@ -1,50 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 Jens Arnold
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/* Define how IRAM is used on the various targets. Note that this file
23 * is included by both .c and .S files so must not contain any C code. */
24
25#ifndef _LIBDEMAC_IRAM_H
26#define _LIBDEMAC_IRAM_H
27
28#ifdef ROCKBOX
29#include "config.h"
30
31/* On PP5002 code should go into IRAM. Otherwise put the insane
32 * filter buffer into IRAM as long as there is no better use. */
33#if CONFIG_CPU == PP5002
34#define ICODE_SECTION_DEMAC_ARM .icode
35#define ICODE_ATTR_DEMAC ICODE_ATTR
36#define IBSS_ATTR_DEMAC_INSANEBUF
37#else
38#define ICODE_SECTION_DEMAC_ARM .text
39#define ICODE_ATTR_DEMAC
40#define IBSS_ATTR_DEMAC_INSANEBUF IBSS_ATTR
41#endif
42
43#else
44
45#define IBSS_ATTR_DEMAC_INSANEBUF
46#define ICODE_ATTR_DEMAC
47
48#endif /* !ROCKBOX */
49
50#endif /* _LIBDEMAC_IRAM_H */