Module Name: src
Committed By: jmcneill
Date: Sat Feb 15 15:49:45 UTC 2025
Modified Files:
src/sys/arch/evbppc/wii/dev: sdhc_hollywood.c
Log Message:
wii: Remove SDHC write delay.
Does not seem to be required, and hurts performance.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbppc/wii/dev/sdhc_hollywood.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbppc/wii/dev/sdhc_hollywood.c
diff -u src/sys/arch/evbppc/wii/dev/sdhc_hollywood.c:1.3 src/sys/arch/evbppc/wii/dev/sdhc_hollywood.c:1.4
--- src/sys/arch/evbppc/wii/dev/sdhc_hollywood.c:1.3 Sun Sep 22 13:56:25 2024
+++ src/sys/arch/evbppc/wii/dev/sdhc_hollywood.c Sat Feb 15 15:49:44 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: sdhc_hollywood.c,v 1.3 2024/09/22 13:56:25 jmcneill Exp $ */
+/* $NetBSD: sdhc_hollywood.c,v 1.4 2025/02/15 15:49:44 jmcneill Exp $ */
/*-
* Copyright (c) 2024 Jared McNeill <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc_hollywood.c,v 1.3 2024/09/22 13:56:25 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc_hollywood.c,v 1.4 2025/02/15 15:49:44 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -42,7 +42,6 @@ __KERNEL_RCSID(0, "$NetBSD: sdhc_hollywo
#include "hollywood.h"
#define SDHC_SIZE 0x200
-#define SDHC_HOLLYWOOD_WRITE_DELAY 5
extern struct powerpc_bus_dma_tag wii_mem2_bus_dma_tag;
@@ -78,7 +77,6 @@ sdhc_hollywood_attach(device_t parent, d
sc->sc_base.sc_flags = SDHC_FLAG_SINGLE_POWER_WRITE |
SDHC_FLAG_32BIT_ACCESS |
SDHC_FLAG_USE_DMA;
- sc->sc_base.sc_write_delay = SDHC_HOLLYWOOD_WRITE_DELAY;
bst = haa->haa_bst;
if (bus_space_map(bst, haa->haa_addr, SDHC_SIZE, 0, &bsh)) {