summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/imx/imxccm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/armv7/imx/imxccm.c')
-rw-r--r--sys/arch/armv7/imx/imxccm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/armv7/imx/imxccm.c b/sys/arch/armv7/imx/imxccm.c
index 66928e591e1..5e27a6b1490 100644
--- a/sys/arch/armv7/imx/imxccm.c
+++ b/sys/arch/armv7/imx/imxccm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxccm.c,v 1.12 2018/04/01 18:57:48 patrick Exp $ */
+/* $OpenBSD: imxccm.c,v 1.13 2018/04/01 19:07:31 patrick Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
@@ -548,6 +548,8 @@ imxccm_get_frequency(void *cookie, uint32_t *cells)
}
} else {
switch (idx) {
+ case IMX6_CLK_AHB:
+ return imxccm_get_ahbclk();
case IMX6_CLK_ARM:
return imxccm_get_armclk();
case IMX6_CLK_IPG: