From 2779d271b13008faba709b27a35c1042ae7b0d4f Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 20 Jun 2023 09:26:36 +0000 Subject: [PATCH] Fix definition of EMMC_DLL_TXCLK register offset. ok dlg@ --- sys/dev/fdt/dwmshc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/fdt/dwmshc.c b/sys/dev/fdt/dwmshc.c index 9a7ffdd16ab..4ae27743114 100644 --- a/sys/dev/fdt/dwmshc.c +++ b/sys/dev/fdt/dwmshc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwmshc.c,v 1.4 2023/04/19 02:01:02 dlg Exp $ */ +/* $OpenBSD: dwmshc.c,v 1.5 2023/06/20 09:26:36 kettenis Exp $ */ /* * Copyright (c) 2023 David Gwynne @@ -98,7 +98,7 @@ #define EMMC_DLL_RXCLK_RX_CLK_OUT_SEL (1U << 27) #define EMMC_DLL_RXCLK_RX_CLK_CHANGE_WINDOW (1U << 28) #define EMMC_DLL_RXCLK_RX_CLK_SRC_SEL (1U << 29) -#define EMMC_DLL_TXCLK 0x804 +#define EMMC_DLL_TXCLK 0x808 #define EMMC_DLL_TXCLK_TX_TAP_NUM_SHIFT 0 #define EMMC_DLL_TXCLK_TX_TAP_NUM_MASK 0x1f #define EMMC_DLL_TXCLK_TX_TAP_VALUE_SHIFT 8 -- 2.20.1