Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf enable plmmc(4)



details:   https://anonhg.NetBSD.org/src/rev/084ac1d0f41e
branches:  trunk
changeset: 335869:084ac1d0f41e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jan 27 16:35:47 2015 +0000

description:
enable plmmc(4)

diffstat:

 sys/arch/evbarm/conf/INTEGRATOR_CP    |  10 +++++++++-
 sys/arch/evbarm/conf/files.integrator |   6 +++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r 3aa2483f60ca -r 084ac1d0f41e sys/arch/evbarm/conf/INTEGRATOR_CP
--- a/sys/arch/evbarm/conf/INTEGRATOR_CP        Tue Jan 27 16:34:34 2015 +0000
+++ b/sys/arch/evbarm/conf/INTEGRATOR_CP        Tue Jan 27 16:35:47 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: INTEGRATOR_CP,v 1.9 2014/08/23 20:26:57 dholland Exp $
+#      $NetBSD: INTEGRATOR_CP,v 1.10 2015/01/27 16:35:47 jmcneill Exp $
 #
 #      INTEGRATOR_CP -- ARM Integrator CP kernel
 #
@@ -135,6 +135,7 @@
 options        PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=38400,PLCONMODE=0xB00
 
 config         netbsd          root on ? type ?
+config         netbsd-ld0      root on ld0 type ?
 config         netbsd-sm0      root on sm0 type nfs
 
 # The main bus device
@@ -154,6 +155,13 @@
 # PL030 real time clock
 plrtc0         at ifpga? offset 0x05000000
 
+# PL181 MMCI host controller
+plmmc0         at ifpga? offset 0x0c000000 irq 23
+sdmmc*         at plmmc0
+ld*            at sdmmc?
+#options       SDMMC_DEBUG
+#options       SDMMCCISDEBUG
+
 # PCI bus via ifpga
 pci0           at ifpga?                       # PCI bus
 
diff -r 3aa2483f60ca -r 084ac1d0f41e sys/arch/evbarm/conf/files.integrator
--- a/sys/arch/evbarm/conf/files.integrator     Tue Jan 27 16:34:34 2015 +0000
+++ b/sys/arch/evbarm/conf/files.integrator     Tue Jan 27 16:35:47 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.integrator,v 1.10 2013/02/19 10:57:09 skrll Exp $
+#      $NetBSD: files.integrator,v 1.11 2015/01/27 16:35:47 jmcneill Exp $
 #
 # ARM, Ltd. Integrator evaluation board configuraiton info
 #
@@ -24,6 +24,10 @@
 attach plcom at ifpga with plcom_ifpga
 file   arch/evbarm/ifpga/plcom_ifpga.c         plcom_ifpga
 
+# Integrator MMCI host controller
+attach plmmc at ifpga with plmmc_ifpga
+file   arch/evbarm/ifpga/plmmc_ifpga.c         plmmc_ifpga
+
 # Integrator real-time clock
 device plrtc
 attach plrtc at ifpga



Home | Main Index | Thread Index | Old Index