1 /***************************************************************************/
4 * linux/arch/m68knommu/platform/68328/config.c
6 * Copyright (C) 1993 Hamish Macdonald
7 * Copyright (C) 1999 D. Jeff Dionne
9 * This file is subject to the terms and conditions of the GNU General Public
10 * License. See the file COPYING in the main directory of this archive
13 * VZ Support/Fixes Evan Stawnyczy <e@lineo.ca>
16 /***************************************************************************/
18 #include <linux/types.h>
19 #include <linux/kernel.h>
20 #include <asm/system.h>
21 #include <asm/machdep.h>
22 #include <asm/MC68328.h>
23 #if defined(CONFIG_PILOT) || defined(CONFIG_INIT_LCD)
27 /***************************************************************************/
29 void m68328_timer_gettod(int *year
, int *mon
, int *day
, int *hour
, int *min
, int *sec
);
31 /***************************************************************************/
33 void m68328_reset (void)
36 asm volatile ("moveal #0x10c00000, %a0;\n\t"
37 "moveb #0, 0xFFFFF300;\n\t"
38 "moveal 0(%a0), %sp;\n\t"
39 "moveal 4(%a0), %a0;\n\t"
43 /***************************************************************************/
45 void config_BSP(char *command
, int len
)
47 printk(KERN_INFO
"\n68328 support D. Jeff Dionne <jeff@uclinux.org>\n");
48 printk(KERN_INFO
"68328 support Kenneth Albanowski <kjahds@kjshds.com>\n");
49 printk(KERN_INFO
"68328/Pilot support Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de>\n");
51 mach_gettod
= m68328_timer_gettod
;
52 mach_reset
= m68328_reset
;
55 /***************************************************************************/