2 * arch/ppc/platforms/est8260_setup.c
4 * EST8260 platform support
6 * Author: Allen Curtis <acurtis@onz.com>
7 * Derived from: m8260_setup.c by Dan Malek, MVista
9 * Copyright 2002 Ones and Zeros, Inc.
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version.
17 #include <linux/config.h>
18 #include <linux/seq_file.h>
20 #include <asm/mpc8260.h>
21 #include <asm/machdep.h>
23 static void (*callback_setup_arch)(void);
25 extern unsigned char __res[sizeof(bd_t)];
27 extern void m8260_init(unsigned long r3, unsigned long r4,
28 unsigned long r5, unsigned long r6, unsigned long r7);
31 est8260_show_cpuinfo(struct seq_file *m)
33 bd_t *binfo = (bd_t *)__res;
35 seq_printf(m, "vendor\t\t: EST Corporation\n"
36 "machine\t\t: SBC8260 PowerPC\n"
38 "mem size\t\t: 0x%08x\n"
39 "console baud\t\t: %d\n"
47 est8260_setup_arch(void)
49 printk("EST SBC8260 Port\n");
50 callback_setup_arch();
54 platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
55 unsigned long r6, unsigned long r7)
57 /* Generic 8260 platform initialization */
58 m8260_init(r3, r4, r5, r6, r7);
60 /* Anything special for this platform */
61 ppc_md.show_cpuinfo = est8260_show_cpuinfo;
63 callback_setup_arch = ppc_md.setup_arch;
64 ppc_md.setup_arch = est8260_setup_arch;