* config/tc-m68k.c (mcf5221x_ctrl): New.

(m68k_cpu): Add line for MCF5221x.
This commit is contained in:
Maxim Kuvyrkov 2009-07-27 20:07:00 +00:00
parent b345c8c262
commit 46203761a0
2 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,9 @@
2009-07-28 Maxim Kuvyrkov <maxim@codesourcery.com>
2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
* config/tc-m68k.c (mcf5221x_ctrl): New.
(m68k_cpu): Add line for MCF5221x.
2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
* config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
(mcf53017_ctrl): Fix RAMBAR.

View File

@ -205,6 +205,10 @@ static const enum m68k_register mcf5216_ctrl[] = {
VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, RAMBAR1,
0
};
static const enum m68k_register mcf5221x_ctrl[] = {
VBR, FLASHBAR, RAMBAR, RAMBAR1,
0
};
static const enum m68k_register mcf52223_ctrl[] = {
VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, RAMBAR1,
0
@ -622,6 +626,8 @@ static const struct m68k_cpu m68k_cpus[] =
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5216_ctrl, "5216", 0},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5216_ctrl, "521x", 2},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf5221x_ctrl, "5221x", 0},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf52223_ctrl, "52221", -1},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf52223_ctrl, "52223", 0},