]> Git Repo - J-u-boot.git/blame - arch/arm/lib/reset.c
armv8/cache: Flush D-cache, invalidate I-cache for relocation
[J-u-boot.git] / arch / arm / lib / reset.c
CommitLineData
ab298231
JCPV
1/*
2 * (C) Copyright 2002
3 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4 * Marius Groeger <[email protected]>
5 *
6 * (C) Copyright 2002
7 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
8 * Alex Zuepke <[email protected]>
9 *
10 * (C) Copyright 2002
792a09eb 11 * Gary Jennejohn, DENX Software Engineering, <[email protected]>
ab298231
JCPV
12 *
13 * (C) Copyright 2004
14 * DAVE Srl
15 * http://www.dave-tech.it
16 * http://www.wawnet.biz
17 * mailto:[email protected]
18 *
19 * (C) Copyright 2004 Texas Insturments
20 *
1a459660 21 * SPDX-License-Identifier: GPL-2.0+
ab298231
JCPV
22 */
23
24#include <common.h>
25
54841ab5 26int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
ab298231
JCPV
27{
28 puts ("resetting ...\n");
29
30 udelay (50000); /* wait 50 ms */
31
32 disable_interrupts();
33 reset_cpu(0);
34
35 /*NOTREACHED*/
36 return 0;
37}
This page took 0.172781 seconds and 4 git commands to generate.