1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2007-2008
5 * Lead Tech Design <www.leadtechdesign.com>
10 #include <asm/arch/hardware.h>
11 #include <asm/arch/at91_rstc.h>
13 /* Reset the cpu by telling the reset controller to do so */
16 at91_rstc_t *rstc = (at91_rstc_t *) ATMEL_BASE_RSTC;
19 | AT91_RSTC_CR_PROCRST /* Processor Reset */
20 | AT91_RSTC_CR_PERRST /* Peripheral Reset */
21 #ifdef CONFIG_AT91RESET_EXTRST
22 | AT91_RSTC_CR_EXTRST /* External Reset (assert nRST pin) */