提交 e6070a17 编写于 作者: G Greg Ungerer 提交者: Linus Torvalds

[PATCH] m68knommu: new family (523x) and board setup

. setup for the new 523x ColdFire family
. break up of 527x to be 5271 and 5275
. some white space cleanup
Signed-off-by: NGreg Ungerer <gerg@uclinux.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 b5aaf3f7
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/fb.h> #include <linux/fb.h>
#include <linux/module.h>
#include <linux/console.h> #include <linux/console.h>
#include <linux/genhd.h> #include <linux/genhd.h>
#include <linux/errno.h> #include <linux/errno.h>
...@@ -45,6 +46,9 @@ unsigned long rom_length; ...@@ -45,6 +46,9 @@ unsigned long rom_length;
unsigned long memory_start; unsigned long memory_start;
unsigned long memory_end; unsigned long memory_end;
EXPORT_SYMBOL(memory_start);
EXPORT_SYMBOL(memory_end);
char command_line[COMMAND_LINE_SIZE]; char command_line[COMMAND_LINE_SIZE];
/* setup some dummy routines */ /* setup some dummy routines */
...@@ -103,15 +107,21 @@ void (*mach_power_off)( void ) = NULL; ...@@ -103,15 +107,21 @@ void (*mach_power_off)( void ) = NULL;
#if defined(CONFIG_M5206e) #if defined(CONFIG_M5206e)
#define CPU "COLDFIRE(m5206e)" #define CPU "COLDFIRE(m5206e)"
#endif #endif
#if defined(CONFIG_M523x)
#define CPU "COLDFIRE(m523x)"
#endif
#if defined(CONFIG_M5249) #if defined(CONFIG_M5249)
#define CPU "COLDFIRE(m5249)" #define CPU "COLDFIRE(m5249)"
#endif #endif
#if defined(CONFIG_M527x) #if defined(CONFIG_M5271)
#define CPU "COLDFIRE(m5270/5271/5274/5275)" #define CPU "COLDFIRE(m5270/5271)"
#endif #endif
#if defined(CONFIG_M5272) #if defined(CONFIG_M5272)
#define CPU "COLDFIRE(m5272)" #define CPU "COLDFIRE(m5272)"
#endif #endif
#if defined(CONFIG_M5275)
#define CPU "COLDFIRE(m5274/5275)"
#endif
#if defined(CONFIG_M528x) #if defined(CONFIG_M528x)
#define CPU "COLDFIRE(m5280/5282)" #define CPU "COLDFIRE(m5280/5282)"
#endif #endif
...@@ -200,6 +210,9 @@ void setup_arch(char **cmdline_p) ...@@ -200,6 +210,9 @@ void setup_arch(char **cmdline_p)
#ifdef CONFIG_DRAGEN2 #ifdef CONFIG_DRAGEN2
printk(KERN_INFO "DragonEngine II board support by Georges Menie\n"); printk(KERN_INFO "DragonEngine II board support by Georges Menie\n");
#endif #endif
#ifdef CONFIG_M5235EVB
printk(KERN_INFO "Motorola M5235EVB support (C)2005 Syn-tech Systems, Inc. (Jate Sujjavanich)");
#endif
#ifdef DEBUG #ifdef DEBUG
printk(KERN_DEBUG "KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x " printk(KERN_DEBUG "KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册