diff options
| author | Tom Rini <[email protected]> | 2024-12-30 15:55:33 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-30 15:55:33 -0600 |
| commit | ad09ccf7fea365e380d7c7c74e9b87b4c09f30ce (patch) | |
| tree | bd538751af829b2d97e745bbf783f33576a6cdbd /drivers/timer | |
| parent | c379590ab7eaabc00c21eb49796d99627d33ac97 (diff) | |
| parent | 880374542845c0f7cdc4e60a913a987e6ff06b54 (diff) | |
Merge patch series "Misc. PowerPC MPC83xx fixes/cleanups"
J. Neuschäfer <[email protected]> says:
This patchset contains a few small fixes/cleanups for the MPC83xx
platform.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/timer')
| -rw-r--r-- | drivers/timer/mpc83xx_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c index 9da74479aaa..f92009e4ccc 100644 --- a/drivers/timer/mpc83xx_timer.c +++ b/drivers/timer/mpc83xx_timer.c @@ -206,7 +206,7 @@ static u64 mpc83xx_timer_get_count(struct udevice *dev) tbl = mftb(); } while (tbu != mftbu()); - return (tbu * 0x10000ULL) + tbl; + return (uint64_t)tbu << 32 | tbl; } static int mpc83xx_timer_probe(struct udevice *dev) |
