Skip to content
Commit 1c6c7b6b authored by Simon Glass's avatar Simon Glass
Browse files

tegra: clock: Avoid a divide-by-zero error



The clock fix-up for tegra is still present in the code. It causes a
divide-by-zero bug after relocation when chain-loading U-Boot from
coreboot. Fix this by adding a check.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Fixes: 74686766 (ARM: tegra: fix clock_get_periph_rate() for UART clocks)
parent 06cc85a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment