Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/nvidia set ref clk to 204MHz so we can take adv...



details:   https://anonhg.NetBSD.org/src/rev/284018520ea0
branches:  trunk
changeset: 339674:284018520ea0
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 02 21:45:52 2015 +0000

description:
set ref clk to 204MHz so we can take advantage of UHS-I modes

diffstat:

 sys/arch/arm/nvidia/tegra_sdhc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c879b17d54f9 -r 284018520ea0 sys/arch/arm/nvidia/tegra_sdhc.c
--- a/sys/arch/arm/nvidia/tegra_sdhc.c  Sun Aug 02 21:45:12 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_sdhc.c  Sun Aug 02 21:45:52 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_sdhc.c,v 1.9 2015/07/29 12:11:32 jmcneill Exp $ */
+/* $NetBSD: tegra_sdhc.c,v 1.10 2015/08/02 21:45:52 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: tegra_sdhc.c,v 1.9 2015/07/29 12:11:32 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_sdhc.c,v 1.10 2015/08/02 21:45:52 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -124,7 +124,7 @@
        if (sc->sc_pin_wp)
                sc->sc.sc_vendor_write_protect = tegra_sdhc_write_protect;
 
-       tegra_car_periph_sdmmc_set_rate(sc->sc_port, 50000000);
+       tegra_car_periph_sdmmc_set_rate(sc->sc_port, 204000000);
        sc->sc.sc_clkbase = tegra_car_periph_sdmmc_rate(sc->sc_port) / 1000;
 
        aprint_naive("\n");



Home | Main Index | Thread Index | Old Index