diff options
| author | Tom Rini <[email protected]> | 2022-09-18 08:27:23 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-18 08:27:23 -0400 |
| commit | 1977d72a69f3c8d97bd25a86a6be4da27cde3724 (patch) | |
| tree | 49b577aabdf7dc2483b895bc02ed560cfcf56535 /drivers | |
| parent | 4f2c559b9a2ad86e03dffeef720257ea680707d0 (diff) | |
| parent | 5996a8a8356c11c6eb504eeea93c267f9adbf53c (diff) | |
Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
- mvebu: turris_omnia: Fix setting switch CONFIG pins on new board
design (Marek)
- orion-timer: Use timer_conv_64() to fix timer wrap around (Stefan)
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/timer/orion-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/orion-timer.c b/drivers/timer/orion-timer.c index fd30e1bf036..d7d1a1b2446 100644 --- a/drivers/timer/orion-timer.c +++ b/drivers/timer/orion-timer.c @@ -19,7 +19,7 @@ static uint64_t orion_timer_get_count(struct udevice *dev) { struct orion_timer_priv *priv = dev_get_priv(dev); - return ~readl(priv->base + TIMER0_VAL); + return timer_conv_64(~readl(priv->base + TIMER0_VAL)); } static int orion_timer_probe(struct udevice *dev) |
