[PATCH] m32r: Support M32104UT target platform
This patch is for supporting a new target platform, Renesas M32104UT evaluation board. The M32104UT is an eval board based on an uT-Engine specification. This board has an MMU-less M32R family processor, M32104. http://www-wa0.personal-media.co.jp/pmc/archive/te/te_m32104_e.pdf This board is one of the most popular M32R platform, so we have ported Linux/M32R to it. Signed-off-by: Naoto Sugai <Sugai.Naoto@ak.MitsubishiElectric.co.jp> Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
60c83c77c4
commit
9287d95ea1
@@ -320,6 +320,9 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
||||
#elif defined(CONFIG_CHIP_MP)
|
||||
seq_printf(m, "cpu family\t: M32R-MP\n"
|
||||
"cache size\t: I-xxKB/D-xxKB\n");
|
||||
#elif defined(CONFIG_CHIP_M32104)
|
||||
seq_printf(m,"cpu family\t: M32104\n"
|
||||
"cache size\t: I-8KB/D-8KB\n");
|
||||
#else
|
||||
seq_printf(m, "cpu family\t: Unknown\n");
|
||||
#endif
|
||||
@@ -340,6 +343,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
||||
seq_printf(m, "Machine\t\t: uServer\n");
|
||||
#elif defined(CONFIG_PLAT_OAKS32R)
|
||||
seq_printf(m, "Machine\t\t: OAKS32R\n");
|
||||
#elif defined(CONFIG_PLAT_M32104UT)
|
||||
seq_printf(m, "Machine\t\t: M3T-M32104UT uT Engine board\n");
|
||||
#else
|
||||
seq_printf(m, "Machine\t\t: Unknown\n");
|
||||
#endif
|
||||
@@ -389,7 +394,7 @@ unsigned long cpu_initialized __initdata = 0;
|
||||
*/
|
||||
#if defined(CONFIG_CHIP_VDEC2) || defined(CONFIG_CHIP_XNUX2) \
|
||||
|| defined(CONFIG_CHIP_M32700) || defined(CONFIG_CHIP_M32102) \
|
||||
|| defined(CONFIG_CHIP_OPSP)
|
||||
|| defined(CONFIG_CHIP_OPSP) || defined(CONFIG_CHIP_M32104)
|
||||
void __init cpu_init (void)
|
||||
{
|
||||
int cpu_id = smp_processor_id();
|
||||
|
Reference in New Issue
Block a user