diff options
| author | Tom Rini <trini@konsulko.com> | 2019-04-21 18:59:30 -0400 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2019-04-21 18:59:30 -0400 |
| commit | b4fde1633e67bb618fd33aad6e6322b7cecf1154 (patch) | |
| tree | d427acfe3e80e6614a6b9312cb91892dd3dfd8ac /drivers/timer | |
| parent | 1f4ae66eaab29bfb5d1eb44996f7826c9cd01ed1 (diff) | |
| parent | e09c1a133155724d3369e150f3ab7b63c875101c (diff) | |
| download | u-boot-b4fde1633e67bb618fd33aad6e6322b7cecf1154.tar.gz u-boot-b4fde1633e67bb618fd33aad6e6322b7cecf1154.tar.xz u-boot-b4fde1633e67bb618fd33aad6e6322b7cecf1154.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
- Various stratix10, gen5 updates
Diffstat (limited to 'drivers/timer')
| -rw-r--r-- | drivers/timer/dw-apb-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/dw-apb-timer.c b/drivers/timer/dw-apb-timer.c index 085bfb02c5..cb48801af1 100644 --- a/drivers/timer/dw-apb-timer.c +++ b/drivers/timer/dw-apb-timer.c @@ -32,7 +32,7 @@ static int dw_apb_timer_get_count(struct udevice *dev, u64 *count) * requires the count to be incrementing. Invert the * result. */ - *count = ~readl(priv->regs + DW_APB_CURR_VAL); + *count = timer_conv_64(~readl(priv->regs + DW_APB_CURR_VAL)); return 0; } |
