From 1b14167861bb5bf4c692f8fc661b33e26a706183 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 16 Nov 2008 17:49:37 +0000 Subject: Centralise compile-time configuration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19121 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/demac/libdemac/demac_iram.h | 50 --------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 apps/codecs/demac/libdemac/demac_iram.h (limited to 'apps/codecs/demac/libdemac/demac_iram.h') 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 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * Copyright (C) 2008 Jens Arnold - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY - * KIND, either express or implied. - * - ****************************************************************************/ - -/* Define how IRAM is used on the various targets. Note that this file - * is included by both .c and .S files so must not contain any C code. */ - -#ifndef _LIBDEMAC_IRAM_H -#define _LIBDEMAC_IRAM_H - -#ifdef ROCKBOX -#include "config.h" - -/* On PP5002 code should go into IRAM. Otherwise put the insane - * filter buffer into IRAM as long as there is no better use. */ -#if CONFIG_CPU == PP5002 -#define ICODE_SECTION_DEMAC_ARM .icode -#define ICODE_ATTR_DEMAC ICODE_ATTR -#define IBSS_ATTR_DEMAC_INSANEBUF -#else -#define ICODE_SECTION_DEMAC_ARM .text -#define ICODE_ATTR_DEMAC -#define IBSS_ATTR_DEMAC_INSANEBUF IBSS_ATTR -#endif - -#else - -#define IBSS_ATTR_DEMAC_INSANEBUF -#define ICODE_ATTR_DEMAC - -#endif /* !ROCKBOX */ - -#endif /* _LIBDEMAC_IRAM_H */ -- cgit v1.2.3