Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/amlogic set max clock to ref freq
details: https://anonhg.NetBSD.org/src/rev/3415001a2521
branches: trunk
changeset: 339752:3415001a2521
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Aug 08 10:55:14 2015 +0000
description:
set max clock to ref freq
diffstat:
sys/arch/arm/amlogic/amlogic_sdio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 961e08b8f9cb -r 3415001a2521 sys/arch/arm/amlogic/amlogic_sdio.c
--- a/sys/arch/arm/amlogic/amlogic_sdio.c Sat Aug 08 10:51:50 2015 +0000
+++ b/sys/arch/arm/amlogic/amlogic_sdio.c Sat Aug 08 10:55:14 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amlogic_sdio.c,v 1.2 2015/04/19 23:12:21 jmcneill Exp $ */
+/* $NetBSD: amlogic_sdio.c,v 1.3 2015/08/08 10:55:14 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amlogic_sdio.c,v 1.2 2015/04/19 23:12:21 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amlogic_sdio.c,v 1.3 2015/08/08 10:55:14 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -186,7 +186,7 @@
saa.saa_dmat = sc->sc_dmat;
saa.saa_sch = sc;
saa.saa_clkmin = 400;
- saa.saa_clkmax = 50000;
+ saa.saa_clkmax = sc->sc_bus_freq;
/* Do not advertise DMA capabilities, we handle DMA ourselves */
saa.saa_caps = SMC_CAPS_4BIT_MODE|
SMC_CAPS_SD_HIGHSPEED|
Home |
Main Index |
Thread Index |
Old Index