diff options
author | Sylvestre Gallon <syl@cvs.openbsd.org> | 2013-10-25 15:43:13 +0000 |
---|---|---|
committer | Sylvestre Gallon <syl@cvs.openbsd.org> | 2013-10-25 15:43:13 +0000 |
commit | 475b0d3738ebcfa564f4a43056b99848830f7a7a (patch) | |
tree | 2018cbc88eb8d69eca9eea3a6a135de6b87abf79 | |
parent | f2a80a630919d9e446dc2a191ed257a7d0e74491 (diff) |
My last commit make the pandaboard panic.
Solve this removing the panic when want to enable PRCM_MMC0 on
omap4.
Spotted by rapha@ thanks.
-rw-r--r-- | sys/arch/armv7/omap/prcm.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <drahn@openbsd.org> * @@ -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); |