X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Froms%2Fu-boot%2Farch%2Farc%2Fcpu%2Farc700%2Freset.c;fp=qemu%2Froms%2Fu-boot%2Farch%2Farc%2Fcpu%2Farc700%2Freset.c;h=98ebf1d445608e89175ba2f985edeea07842a22f;hb=e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb;hp=0000000000000000000000000000000000000000;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git diff --git a/qemu/roms/u-boot/arch/arc/cpu/arc700/reset.c b/qemu/roms/u-boot/arch/arc/cpu/arc700/reset.c new file mode 100644 index 000000000..98ebf1d44 --- /dev/null +++ b/qemu/roms/u-boot/arch/arc/cpu/arc700/reset.c @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include +#include + +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) +{ + printf("Put your restart handler here\n"); + +#ifdef DEBUG + /* Stop debug session here */ + __asm__("brk"); +#endif + return 0; +}