Commit 2c36fac4 authored by Armando Uribe's avatar Armando Uribe Committed by Omar Ramirez Luna
Browse files

staging: tidspbridge: Remove unused defined constants



Remove defined constants not being used.

Signed-off-by: default avatarArmando Uribe <x0095078@ti.com>
Signed-off-by: default avatarOmar Ramirez Luna <omar.ramirez@ti.com>
parent c378204a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -24,9 +24,7 @@
#define BRD_IDLE        0x1	/* Monitor Loaded, but suspended. */
#define BRD_RUNNING     0x2	/* Monitor loaded, and executing. */
#define BRD_UNKNOWN     0x3	/* Board state is indeterminate. */
#define BRD_SYNCINIT    0x4
#define BRD_LOADED      0x5
#define BRD_LASTSTATE   BRD_LOADED	/* Set to highest legal board state. */
#define BRD_SLEEP_TRANSITION 0x6	/* Sleep transition in progress */
#define BRD_HIBERNATION 0x7	/* MPU initiated hibernation */
#define BRD_RETENTION     0x8	/* Retention mode */
+0 −13
Original line number Diff line number Diff line
@@ -19,25 +19,12 @@
#ifndef CFGDEFS_
#define CFGDEFS_

/* Maximum length of module search path. */
#define CFG_MAXSEARCHPATHLEN    255

/* Maximum length of general paths. */
#define CFG_MAXPATH             255

/* Host Resources: */
#define CFG_MAXMEMREGISTERS     9
#define CFG_MAXIOPORTS          20
#define CFG_MAXIRQS             7
#define CFG_MAXDMACHANNELS      7

/* IRQ flag */
#define CFG_IRQSHARED           0x01	/* IRQ can be shared */

/* DSP Resources: */
#define CFG_DSPMAXMEMTYPES      10
#define CFG_DEFAULT_NUM_WINDOWS 1	/* We support only one window. */

/* A platform-related device handle: */
struct cfg_devnode;

+0 −3
Original line number Diff line number Diff line
@@ -22,9 +22,6 @@
/* Channel id option. */
#define CHNL_PICKFREE       (~0UL)	/* Let manager pick a free channel. */

/* Channel manager limits: */
#define CHNL_INITIOREQS      4	/* Default # of I/O requests. */

/* Channel modes */
#define CHNL_MODETODSP		0	/* Data streaming to the DSP. */
#define CHNL_MODEFROMDSP	1	/* Data streaming from the DSP. */
+0 −13
Original line number Diff line number Diff line
@@ -39,12 +39,6 @@
 */
#define CHNL_PCPY       0	/* Proc-copy transport 0 */

#define CHNL_MAXIRQ     0xff	/* Arbitrarily large number. */

/* The following modes are private: */
#define CHNL_MODEUSEREVENT  0x1000	/* User provided the channel event. */
#define CHNL_MODEMASK       0x1001

/* Higher level channel states: */
#define CHNL_STATEREADY		0	/* Channel ready for I/O. */
#define CHNL_STATECANCEL	1	/* I/O was cancelled. */
@@ -56,13 +50,6 @@

/* Types of channel class libraries: */
#define CHNL_TYPESM         1	/* Shared memory driver. */
#define CHNL_TYPEBM         2	/* Bus Mastering driver. */

/* Max string length of channel I/O completion event name - change if needed */
#define CHNL_MAXEVTNAMELEN  32

/* Max memory pages lockable in CHNL_PrepareBuffer() - change if needed */
#define CHNL_MAXLOCKPAGES   64

/* Channel info. */
struct chnl_info {
+0 −3
Original line number Diff line number Diff line
@@ -27,9 +27,6 @@
#define COD_TRACEBEG            "SYS_PUTCBEG"
#define COD_TRACEEND            "SYS_PUTCEND"
#define COD_TRACECURPOS	"BRIDGE_SYS_PUTC_current"
#define COD_TRACESECT           "trace"
#define COD_TRACEBEGOLD         "PUTCBEG"
#define COD_TRACEENDOLD         "PUTCEND"

#define COD_NOLOAD              DBLL_NOLOAD
#define COD_SYMB                DBLL_SYMB
Loading