This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Add more CF cpus


This patch adds 5253, 52221, 52223 cpu support. ok?

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>

	* config/tc-m68k.c (mcf5253_ctrl): New.
	(mcf52223_ctrl): New.
	(m68k_cpus): Add 5253, 52221, 52223.

Index: gas/config/tc-m68k.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m68k.c,v
retrieving revision 1.87
diff -c -3 -p -r1.87 tc-m68k.c
*** gas/config/tc-m68k.c	20 Apr 2007 14:08:59 -0000	1.87
--- gas/config/tc-m68k.c	20 Apr 2007 14:26:44 -0000
*************** static const enum m68k_register mcf5216_
*** 196,201 ****
--- 196,205 ----
    VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, RAMBAR1,
    0
  };
+ static const enum m68k_register mcf52223_ctrl[] = {
+   VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, RAMBAR1,
+   0
+ };
  static const enum m68k_register mcf52235_ctrl[] = {
    VBR, FLASHBAR, RAMBAR, RAMBAR1,
    0
*************** static const enum m68k_register mcf5250_
*** 216,221 ****
--- 220,229 ----
    VBR,
    0
  };
+ static const enum m68k_register mcf5253_ctrl[] = {
+   VBR, CACR, ACR0, ACR1, RAMBAR0, RAMBAR1, MBAR,
+   0
+ };
  static const enum m68k_register mcf5271_ctrl[] = {
    VBR, CACR, ACR0, ACR1, RAMBAR, RAMBAR1,
    0
*************** static const struct m68k_cpu m68k_cpus[]
*** 556,561 ****
--- 564,572 ----
    {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,   mcf52223_ctrl, "52221", -1},
+   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,   mcf52223_ctrl, "52223", 0},
+ 
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,  mcf52235_ctrl, "52230", -1},
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,  mcf52235_ctrl, "52233", -1},
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,  mcf52235_ctrl, "52234", -1},
*************** static const struct m68k_cpu m68k_cpus[]
*** 572,577 ****
--- 583,589 ----
    
    {mcfisa_a|mcfhwdiv|mcfemac,			mcf5249_ctrl, "5249", 0},
    {mcfisa_a|mcfhwdiv|mcfemac,			mcf5250_ctrl, "5250", 0},
+   {mcfisa_a|mcfhwdiv|mcfemac, 			mcf5253_ctrl, "5253", 0},
    
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,	mcf5271_ctrl, "5270", -1},
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,	mcf5271_ctrl, "5271", 0},

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]