/***************************************************************************/12/*3* m68328.c - 68328/68EZ328/68VZ328 specific config4*5* Copyright (C) 1993 Hamish Macdonald6* Copyright (C) 1999 D. Jeff Dionne7* Copyright (C) 2001 Georges Menie, Ken Desmet8*9* This file is subject to the terms and conditions of the GNU General Public10* License. See the file COPYING in the main directory of this archive11* for more details.12*13* VZ Support/Fixes Evan Stawnyczy <[email protected]>14*/1516/***************************************************************************/1718#include <linux/init.h>19#include <linux/types.h>20#include <linux/kernel.h>21#include <linux/rtc.h>22#include <asm/machdep.h>2324#if defined(CONFIG_INIT_LCD) && defined(CONFIG_M68VZ328)25#include "bootlogo-vz.h"26#elif defined(CONFIG_PILOT) || defined(CONFIG_INIT_LCD)27#include "bootlogo.h"28#endif2930#include "m68328.h"3132/***************************************************************************/3334static void m68328_reset(void)35{36local_irq_disable();37asm volatile ("moveal #0x10c00000, %a0;\n\t"38"moveb #0, 0xFFFFF300;\n\t"39"moveal 0(%a0), %sp;\n\t"40"moveal 4(%a0), %a0;\n\t"41"jmp (%a0);");42}4344/***************************************************************************/4546void __init config_BSP(char *command, int len)47{48mach_sched_init = hw_timer_init;49mach_hwclk = m68328_hwclk;50mach_reset = m68328_reset;5152#if defined(CONFIG_PILOT) && defined(CONFIG_M68328)53mach_sched_init = NULL;54#elif defined(CONFIG_UCSIMM)55init_ucsimm(command, len);56#elif defined(CONFIG_UCDIMM)57init_ucsimm(command, len);58#elif defined(CONFIG_DRAGEN2)59init_dragen2(command, len);60#endif61}6263/***************************************************************************/646566