From: uaa Date: Tue, 11 Jan 2022 10:23:17 +0000 (+0000) Subject: fix RSB_DMCR_DEVICE_MODE_DATA value to enter RSB mode correctly X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=33d995052b0dbd0cdcb38f0601364396df830ef9;p=openbsd fix RSB_DMCR_DEVICE_MODE_DATA value to enter RSB mode correctly ok kettenis@ patrick@ --- diff --git a/sys/dev/fdt/sxirsb.c b/sys/dev/fdt/sxirsb.c index c529bbe8b04..f739029ef64 100644 --- a/sys/dev/fdt/sxirsb.c +++ b/sys/dev/fdt/sxirsb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sxirsb.c,v 1.4 2021/10/24 17:52:27 mpi Exp $ */ +/* $OpenBSD: sxirsb.c,v 1.5 2022/01/11 10:23:17 uaa Exp $ */ /* * Copyright (c) 2017 Mark Kettenis * @@ -45,7 +45,7 @@ #define RSB_DATA 0x001c #define RSB_DMCR 0x0028 #define RSB_DMCR_DEVICE_MODE_START (1U << 31) -#define RSB_DMCR_DEVICE_MODE_DATA 0x7e3e00 +#define RSB_DMCR_DEVICE_MODE_DATA 0x7c3e00 #define RSB_CMD 0x002c #define RSB_DAR 0x0030