From 608f8b147ce4b44c5767b9c3a3613d264476126a Mon Sep 17 00:00:00 2001 From: patrick Date: Sun, 17 Dec 2017 10:26:21 +0000 Subject: [PATCH] Pass Cortex-R4 reset vector to activation function. --- sys/dev/ic/bwfm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/bwfm.c b/sys/dev/ic/bwfm.c index 1563493fab7..71a23d108ab 100644 --- a/sys/dev/ic/bwfm.c +++ b/sys/dev/ic/bwfm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwfm.c,v 1.17 2017/12/16 23:45:16 patrick Exp $ */ +/* $OpenBSD: bwfm.c,v 1.18 2017/12/17 10:26:21 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2016,2017 Patrick Wildt @@ -870,7 +870,7 @@ bwfm_chip_cr4_set_active(struct bwfm_softc *sc, uint32_t rstvec) { struct bwfm_core *core; - sc->sc_buscore_ops->bc_activate(sc, 0); + sc->sc_buscore_ops->bc_activate(sc, rstvec); core = bwfm_chip_get_core(sc, BWFM_AGENT_CORE_ARM_CR4); sc->sc_chip.ch_core_reset(sc, core, BWFM_AGENT_IOCTL_ARMCR4_CPUHALT, 0, 0); -- 2.20.1