-/* $OpenBSD: mainbus.c,v 1.3 2021/05/04 06:32:58 jsg Exp $ */
+/* $OpenBSD: mainbus.c,v 1.4 2021/05/04 12:46:28 kettenis Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
struct fdt_attach_args *fa = aux;
struct cfdata *cf = match;
- if (fa->fa_nreg < 1)
+ if (fa->fa_nreg < 1 || fa->fa_reg[0].addr == boot_hart)
return 0;
return (*cf->cf_attach->ca_match)(parent, match, aux);