-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sh: Fix UBC setup and registers for SH2A
Signed-off-by: Kieran Bingham <kieranbingham@gmail.com> Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
- Loading branch information
Kieran Bingham
authored and
Paul Mundt
committed
May 8, 2009
1 parent
be6514c
commit e73173d
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
#include <cpu-sh2/cpu/ubc.h> | ||
/* | ||
* SH-2A UBC definitions | ||
* | ||
* Copyright (C) 2008 Kieran Bingham | ||
* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
*/ | ||
|
||
#ifndef __ASM_CPU_SH2A_UBC_H | ||
#define __ASM_CPU_SH2A_UBC_H | ||
|
||
#define UBC_BARA 0xfffc0400 | ||
#define UBC_BAMRA 0xfffc0404 | ||
#define UBC_BBRA 0xfffc04a0 /* 16 bit access */ | ||
#define UBC_BDRA 0xfffc0408 | ||
#define UBC_BDMRA 0xfffc040c | ||
|
||
#define UBC_BARB 0xfffc0410 | ||
#define UBC_BAMRB 0xfffc0414 | ||
#define UBC_BBRB 0xfffc04b0 /* 16 bit access */ | ||
#define UBC_BDRB 0xfffc0418 | ||
#define UBC_BDMRB 0xfffc041c | ||
|
||
#define UBC_BRCR 0xfffc04c0 | ||
|
||
#endif /* __ASM_CPU_SH2A_UBC_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters