diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-04-01 19:07:32 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-04-01 19:07:32 +0000 |
commit | 8cb279cc42237d0fb39a85ddb0b97a224aa4ac91 (patch) | |
tree | 95bff216a10fbc0354134f8835a0f3b2eeb1fc09 /sys/arch/armv7/imx/imxccm.c | |
parent | 521547fa5f4e4b54a07b897ee4df6ce75f96210e (diff) |
Retrieve AHB clock from clock framework.
Diffstat (limited to 'sys/arch/armv7/imx/imxccm.c')
-rw-r--r-- | sys/arch/armv7/imx/imxccm.c | 4 |
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: |