diff --git a/sys/arch/evbarm/evbarm/autoconf.c b/sys/arch/evbarm/evbarm/autoconf.c index bd6f2be87e00..0b2379aecfa5 100644 --- a/sys/arch/evbarm/evbarm/autoconf.c +++ b/sys/arch/evbarm/evbarm/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.22 2018/08/27 09:52:16 jmcneill Exp $ */ +/* $NetBSD: autoconf.c,v 1.23 2020/12/19 21:54:00 mrg Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -30,9 +30,10 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.22 2018/08/27 09:52:16 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.23 2020/12/19 21:54:00 mrg Exp $"); #include "opt_md.h" +#include "opt_ddb.h" #include #include @@ -171,6 +172,13 @@ cpu_configure(void) struct mainbus_attach_args maa; struct cfdata *cf; +#ifdef DDB + if (boothowto & RB_KDB) { + printf("Entering DDB...\n"); + cpu_Debugger(); + } +#endif + (void) splhigh(); for (cf = &cfdata[0]; cf->cf_name; cf++) {