mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
0f21f98dd4
Watchdog can be used on Microblaze, PPC and Zynq hw designs. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@ti.com>
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/*
|
|
* Copyright (C) 2011 Michal Simek <monstr@monstr.eu>
|
|
*
|
|
* See file CREDITS for list of people who contributed to this
|
|
* project.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of
|
|
* the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef __ASM_MICROBLAZE_PROCESSOR_H
|
|
#define __ASM_MICROBLAZE_PROCESSOR_H
|
|
|
|
/* References to section boundaries */
|
|
|
|
extern char __end[];
|
|
extern char __text_start[];
|
|
|
|
/* Microblaze board initialization function */
|
|
void board_init(void);
|
|
|
|
/* Watchdog functions */
|
|
extern int hw_watchdog_init(void);
|
|
extern void hw_watchdog_disable(void);
|
|
|
|
#endif /* __ASM_MICROBLAZE_PROCESSOR_H */
|