From 475b0d3738ebcfa564f4a43056b99848830f7a7a Mon Sep 17 00:00:00 2001 From: Sylvestre Gallon Date: Fri, 25 Oct 2013 15:43:13 +0000 Subject: My last commit make the pandaboard panic. Solve this removing the panic when want to enable PRCM_MMC0 on omap4. Spotted by rapha@ thanks. --- sys/arch/armv7/omap/prcm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch') diff --git a/sys/arch/armv7/omap/prcm.c b/sys/arch/armv7/omap/prcm.c index 42043244a19..23e17b18831 100644 --- a/sys/arch/armv7/omap/prcm.c +++ b/sys/arch/armv7/omap/prcm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prcm.c,v 1.4 2013/10/24 19:39:46 syl Exp $ */ +/* $OpenBSD: prcm.c,v 1.5 2013/10/25 15:43:12 syl Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn * @@ -354,6 +354,8 @@ void prcm_v4_enablemodule(struct prcm_softc *sc, int mod) { switch (mod) { + case PRCM_MMC0: + break; case PRCM_USBP1_PHY: case PRCM_USBP2_PHY: prcm_v4_hsusbhost_set_source(mod, 0); -- cgit v1.2.3