Skip to content

Commit

Permalink
Blackfin arch: fix the aliased write macros
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Getz <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
  • Loading branch information
rgetz authored and Bryan Wu committed Aug 5, 2007
1 parent 4bbd10f commit e62687f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-blackfin/mach-bf561/cdefBF561.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)

/* For MMR's that are reserved on Core B, set up defines to better integrate with other ports */
#define bfin_read_SWRST() bfin_read_SICA_SWRST()
#define bfin_write_SWRST() bfin_write_SICA_SWRST()
#define bfin_write_SWRST(val) bfin_write_SICA_SWRST(val)
#define bfin_read_SYSCR() bfin_read_SICA_SYSCR()
#define bfin_write_SYSCR() bfin_write_SICA_SYSCR()
#define bfin_write_SYSCR(val) bfin_write_SICA_SYSCR(val)

/* System Reset and Interrupt Controller registers for core A (0xFFC0 0100-0xFFC0 01FF) */
#define bfin_read_SICA_SWRST() bfin_read16(SICA_SWRST)
Expand Down

0 comments on commit e62687f

Please sign in to comment.