mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
sh: Fixup TMU_TOCR definition for SH7300.
SH7300 has a different TMU_TOCR, make the TMU code work again. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
3530570fd4
commit
d95fb13c96
1 changed files with 4 additions and 3 deletions
|
@ -23,6 +23,10 @@
|
||||||
* ---------------------------------------------------------------------------
|
* ---------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if !defined(CONFIG_CPU_SUBTYPE_SH7727)
|
||||||
|
#define TMU_TOCR 0xfffffe90 /* Byte access */
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_CPU_SUBTYPE_SH7300) || defined(CONFIG_CPU_SUBTYPE_SH7710)
|
#if defined(CONFIG_CPU_SUBTYPE_SH7300) || defined(CONFIG_CPU_SUBTYPE_SH7710)
|
||||||
#define TMU_TSTR 0xa412fe92 /* Byte access */
|
#define TMU_TSTR 0xa412fe92 /* Byte access */
|
||||||
|
|
||||||
|
@ -39,9 +43,6 @@
|
||||||
#define TMU2_TCR 0xa412feb4 /* Word access */
|
#define TMU2_TCR 0xa412feb4 /* Word access */
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#if !defined(CONFIG_CPU_SUBTYPE_SH7727)
|
|
||||||
#define TMU_TOCR 0xfffffe90 /* Byte access */
|
|
||||||
#endif
|
|
||||||
#define TMU_TSTR 0xfffffe92 /* Byte access */
|
#define TMU_TSTR 0xfffffe92 /* Byte access */
|
||||||
|
|
||||||
#define TMU0_TCOR 0xfffffe94 /* Long access */
|
#define TMU0_TCOR 0xfffffe94 /* Long access */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue