Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231809
b: refs/heads/master
c: 7fc82b6
h: refs/heads/master
i:
  231807: 7b237b1
v: v3
  • Loading branch information
Greg Ungerer committed Jan 5, 2011
1 parent 42e4619 commit 0f2cba6
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 45 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e29949cfcf0ed737f5b9778fd232f1e6b825e3e
refs/heads/master: 7fc82b655a169039d8a58fde609b5e778573d5ab
1 change: 1 addition & 0 deletions trunk/arch/m68k/include/asm/m5206sim.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#define m5206sim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m5206)"

/*
* Define the 5206 SIM register set addresses.
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/m520xsim.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#define m520xsim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m520x)"

/*
* Define the 520x SIM register set addresses.
*/
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/m68k/include/asm/m523xsim.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define m523xsim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m523x)"

/*
* Define the 523x SIM register set addresses.
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/m5249sim.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#define m5249sim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m5249)"

/*
* Define the 5249 SIM register set addresses.
*/
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/m5272sim.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#define m5272sim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m5272)"

/*
* Define the 5272 SIM register set addresses.
*/
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/m527xsim.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#define m527xsim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m527x)"


/*
* Define the 5270/5271 SIM register set addresses.
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/m68k/include/asm/m528xsim.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define m528xsim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m528x)"

/*
* Define the 5280/5282 SIM register set addresses.
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/m5307sim.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#define m5307sim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m5307)"

/*
* Define the 5307 SIM register set addresses.
*/
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/m532xsim.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#define m532xsim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m532x)"

#define MCF_REG32(x) (*(volatile unsigned long *)(x))
#define MCF_REG16(x) (*(volatile unsigned short *)(x))
#define MCF_REG08(x) (*(volatile unsigned char *)(x))
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/m5407sim.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#define m5407sim_h
/****************************************************************************/

#define CPU_NAME "COLDFIRE(m5407)"

/*
* Define the 5407 SIM register set addresses.
*/
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/m68k/include/asm/m54xxsim.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#ifndef m54xxsim_h
#define m54xxsim_h

#define CPU_NAME "COLDFIRE(m54xx)"

#define MCFINT_VECBASE 64

/*
Expand Down
55 changes: 11 additions & 44 deletions trunk/arch/m68knommu/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,55 +55,22 @@ void (*mach_halt)(void);
void (*mach_power_off)(void);

#ifdef CONFIG_M68328
#define CPU "MC68328"
#define CPU_NAME "MC68328"
#endif
#ifdef CONFIG_M68EZ328
#define CPU "MC68EZ328"
#define CPU_NAME "MC68EZ328"
#endif
#ifdef CONFIG_M68VZ328
#define CPU "MC68VZ328"
#define CPU_NAME "MC68VZ328"
#endif
#ifdef CONFIG_M68360
#define CPU "MC68360"
#define CPU_NAME "MC68360"
#endif
#if defined(CONFIG_M5206)
#define CPU "COLDFIRE(m5206)"
#endif
#if defined(CONFIG_M5206e)
#define CPU "COLDFIRE(m5206e)"
#endif
#if defined(CONFIG_M520x)
#define CPU "COLDFIRE(m520x)"
#endif
#if defined(CONFIG_M523x)
#define CPU "COLDFIRE(m523x)"
#endif
#if defined(CONFIG_M5249)
#define CPU "COLDFIRE(m5249)"
#endif
#if defined(CONFIG_M5271)
#define CPU "COLDFIRE(m5270/5271)"
#endif
#if defined(CONFIG_M5272)
#define CPU "COLDFIRE(m5272)"
#endif
#if defined(CONFIG_M5275)
#define CPU "COLDFIRE(m5274/5275)"
#endif
#if defined(CONFIG_M528x)
#define CPU "COLDFIRE(m5280/5282)"
#endif
#if defined(CONFIG_M5307)
#define CPU "COLDFIRE(m5307)"
#endif
#if defined(CONFIG_M532x)
#define CPU "COLDFIRE(m532x)"
#endif
#if defined(CONFIG_M5407)
#define CPU "COLDFIRE(m5407)"
#endif
#ifndef CPU
#define CPU "UNKNOWN"
/*
* The ColdFire CPU names are defined in their headers.
*/
#ifndef CPU_NAME
#define CPU_NAME "UNKNOWN"
#endif

extern int _stext, _etext, _sdata, _edata, _sbss, _ebss, _end;
Expand Down Expand Up @@ -208,7 +175,7 @@ void __init setup_arch(char **cmdline_p)
command_line[sizeof(command_line) - 1] = 0;
#endif /* CONFIG_UBOOT */

printk(KERN_INFO "\x0F\r\n\nuClinux/" CPU "\n");
printk(KERN_INFO "\x0F\r\n\nuClinux/" CPU_NAME "\n");

#ifdef CONFIG_UCDIMM
printk(KERN_INFO "uCdimm by Lineo, Inc. <www.lineo.com>\n");
Expand Down Expand Up @@ -303,7 +270,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
char *cpu, *mmu, *fpu;
u_long clockfreq;

cpu = CPU;
cpu = CPU_NAME;
mmu = "none";
fpu = "none";

Expand Down

0 comments on commit 0f2cba6

Please sign in to comment.