Skip to content

Commit

Permalink
Blackfin arch: There is no CDPRIO Bit in the EBIU_AMGCTL Register of …
Browse files Browse the repository at this point in the history
…BF54x arch

However there are similar things in the EBIU_DDRQUE Register

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Michael Hennerich authored and Bryan Wu committed Jul 12, 2007
1 parent 9401e61 commit 9be343c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
1 change: 1 addition & 0 deletions arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ config C_AMCKEN

config C_CDPRIO
bool "DMA has priority over core for ext. accesses"
depends on !BF54x
default n

config C_B0PEN
Expand Down
17 changes: 1 addition & 16 deletions include/asm-blackfin/mach-bf548/bf548.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@

#define SUPPORTED_REVID 0

/* Masks for generic ERROR IRQ demultiplexing used in int-priority-sc.c */

#define SPI_ERR_MASK (TXCOL | RBSY | MODF | TXE) /* SPI_STAT */
#define SPORT_ERR_MASK (ROVF | RUVF | TOVF | TUVF) /* SPORTx_STAT */
#define PPI_ERR_MASK (0xFFFF & ~FLD) /* PPI_STATUS */
#define UART_ERR_MASK_STAT1 (0x4) /* UARTx_IIR */
#define UART_ERR_MASK_STAT0 (0x2) /* UARTx_IIR */
#define CAN_ERR_MASK (EWTIF | EWRIF | EPIF | BOIF | WUIF | UIAIF | AAIF | \
RMLIF | UCEIF | EXTIF | ADIF) /* CAN_GIF */

#define OFFSET_(x) ((x) & 0x0000FFFF)

/*some misc defines*/
Expand Down Expand Up @@ -113,13 +103,8 @@
#else
#define V_AMCKEN 0x0
#endif
#ifdef CONFIG_C_CDPRIO
#define V_CDPRIO 0x100
#else
#define V_CDPRIO 0x0
#endif

#define AMGCTLVAL (V_AMBEN | V_AMCKEN | V_CDPRIO)
#define AMGCTLVAL (V_AMBEN | V_AMCKEN)

#define MAX_VC 650000000
#define MIN_VC 50000000
Expand Down

0 comments on commit 9be343c

Please sign in to comment.