From: Omar Ramirez Luna <omar.ramirez@ti.com>
To: linux-omap <linux-omap@vger.kernel.org>
Cc: Ameya Palande <ameya.palande@nokia.com>,
Hiroshi Doyu <Hiroshi.DOYU@nokia.com>,
Felipe Contreras <felipe.contreras@nokia.com>,
Nishanth Menon <nm@ti.com>, Shivananda Hebbar <x0hebbar@ti.com>
Subject: [PATCH 1/2] DSPBRIDGE: Remove un-used enums
Date: Fri, 22 Jan 2010 22:44:29 -0600 [thread overview]
Message-ID: <1264221870-11178-2-git-send-email-omar.ramirez@ti.com> (raw)
In-Reply-To: <1264221870-11178-1-git-send-email-omar.ramirez@ti.com>
From: Shivananda Hebbar <x0hebbar@ti.com>
This patch removes un-used enum definitions from bridge.
Signed-off-by: Shivananda Hebbar <x0hebbar@ti.com>
---
arch/arm/plat-omap/include/dspbridge/cmmdefs.h | 8 --------
drivers/dsp/bridge/hw/IPIAccInt.h | 15 ---------------
drivers/dsp/bridge/wmd/_tiomap.h | 15 ---------------
3 files changed, 0 insertions(+), 38 deletions(-)
diff --git a/arch/arm/plat-omap/include/dspbridge/cmmdefs.h b/arch/arm/plat-omap/include/dspbridge/cmmdefs.h
index 2e7fcf5..91db7a9 100644
--- a/arch/arm/plat-omap/include/dspbridge/cmmdefs.h
+++ b/arch/arm/plat-omap/include/dspbridge/cmmdefs.h
@@ -105,14 +105,6 @@
CMM_DSPPA2PA = 4, /* DSP Pa to GPP Pa */
} ;
-/*
- * Used to "map" between device process virt addr and dsp addr.
- */
- enum CMM_KERNMAPTYPE {
- CMM_KERNVA2DSP = 0, /* Device process context to dsp address. */
- CMM_DSP2KERNVA = 1, /* Dsp address to device process context. */
- } ;
-
struct CMM_OBJECT;
struct CMM_XLATOROBJECT;
diff --git a/drivers/dsp/bridge/hw/IPIAccInt.h b/drivers/dsp/bridge/hw/IPIAccInt.h
index b88a58c..dde0ef0 100644
--- a/drivers/dsp/bridge/hw/IPIAccInt.h
+++ b/drivers/dsp/bridge/hw/IPIAccInt.h
@@ -22,20 +22,5 @@
#define SYSC_IVA2BOOTADDR_OFFSET 0x400
#define SYSC_IVA2BOOTADDR_MASK 0xfffffc00
-
-/* The following represent the enumerated values for each bitfield */
-
-enum IPIIPI_SYSCONFIGAutoIdleE {
- IPIIPI_SYSCONFIGAutoIdleclkfree = 0x0000,
- IPIIPI_SYSCONFIGAutoIdleautoclkgate = 0x0001
-} ;
-
-enum IPIIPI_ENTRYElemSizeValueE {
- IPIIPI_ENTRYElemSizeValueElemSz8b = 0x0000,
- IPIIPI_ENTRYElemSizeValueElemSz16b = 0x0001,
- IPIIPI_ENTRYElemSizeValueElemSz32b = 0x0002,
- IPIIPI_ENTRYElemSizeValueReserved = 0x0003
-} ;
-
#endif /* _IPI_ACC_INT_H */
/* EOF */
diff --git a/drivers/dsp/bridge/wmd/_tiomap.h b/drivers/dsp/bridge/wmd/_tiomap.h
index 4627822..077e693 100644
--- a/drivers/dsp/bridge/wmd/_tiomap.h
+++ b/drivers/dsp/bridge/wmd/_tiomap.h
@@ -270,21 +270,6 @@ static const struct BPWR_Clk_t BPWR_Clks[] = {
#define INTH_MASK_IT_REG_OFFSET 0x04 /* Mask Interrupt reg offset */
#define DSP_MAILBOX1_INT 10
-
-/*
- * INTH_InterruptKind_t
- * Identify the kind of interrupt: either FIQ/IRQ
- */
-enum INTH_InterruptKind_t {
- INTH_IRQ = 0,
- INTH_FIQ = 1
-} ;
-
-enum INTH_SensitiveEdge_t {
- FALLING_EDGE_SENSITIVE = 0,
- LOW_LEVEL_SENSITIVE = 1
-} ;
-
/*
* Bit definition of Interrupt Level Registers
*/
--
1.6.2.4
next prev parent reply other threads:[~2010-01-23 4:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-23 4:44 [PATCH 0/2] DSPBRIDGE: trivial cleanup for enums Omar Ramirez Luna
2010-01-23 4:44 ` Omar Ramirez Luna [this message]
2010-01-23 4:44 ` [PATCH 2/2] DSPBRIDGE: Remove enum definitions and replace with macros Omar Ramirez Luna
2010-01-27 1:31 ` Omar Ramirez Luna
2010-01-27 1:31 ` [PATCH 1/2] DSPBRIDGE: Remove un-used enums Omar Ramirez Luna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1264221870-11178-2-git-send-email-omar.ramirez@ti.com \
--to=omar.ramirez@ti.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=ameya.palande@nokia.com \
--cc=felipe.contreras@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=x0hebbar@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.