system.c (e3372474cfa0dc016f10ec47baddbd1ed0abecf3) | system.c (50f2de61269bbe2f40bead1969a9594fa8599b93) |
---|---|
1/* 2 * Copyright (C) 1999 ARM Limited 3 * Copyright (C) 2000 Deep Blue Solutions Ltd 4 * Copyright 2006-2007 Freescale Semiconductor, Inc. All Rights Reserved. 5 * Copyright 2008 Juergen Beisert, kernel@pengutronix.de 6 * Copyright 2009 Ilya Yanok, Emcraft Systems Ltd, yanok@emcraft.com 7 * 8 * This program is free software; you can redistribute it and/or modify --- 8 unchanged lines hidden (view full) --- 17 */ 18 19#include <linux/kernel.h> 20#include <linux/clk.h> 21#include <linux/io.h> 22#include <linux/err.h> 23#include <linux/delay.h> 24 | 1/* 2 * Copyright (C) 1999 ARM Limited 3 * Copyright (C) 2000 Deep Blue Solutions Ltd 4 * Copyright 2006-2007 Freescale Semiconductor, Inc. All Rights Reserved. 5 * Copyright 2008 Juergen Beisert, kernel@pengutronix.de 6 * Copyright 2009 Ilya Yanok, Emcraft Systems Ltd, yanok@emcraft.com 7 * 8 * This program is free software; you can redistribute it and/or modify --- 8 unchanged lines hidden (view full) --- 17 */ 18 19#include <linux/kernel.h> 20#include <linux/clk.h> 21#include <linux/io.h> 22#include <linux/err.h> 23#include <linux/delay.h> 24 |
25#include <mach/hardware.h> | |
26#include <asm/system_misc.h> 27#include <asm/proc-fns.h> 28#include <asm/mach-types.h> 29 30#include "common.h" | 25#include <asm/system_misc.h> 26#include <asm/proc-fns.h> 27#include <asm/mach-types.h> 28 29#include "common.h" |
30#include "hardware.h" |
|
31 32static void __iomem *wdog_base; 33 34/* 35 * Reset the system. It is called by machine_restart(). 36 */ 37void mxc_restart(char mode, const char *cmd) 38{ --- 32 unchanged lines hidden --- | 31 32static void __iomem *wdog_base; 33 34/* 35 * Reset the system. It is called by machine_restart(). 36 */ 37void mxc_restart(char mode, const char *cmd) 38{ --- 32 unchanged lines hidden --- |