Re: [U-Boot] [PATCH v2 14/28] tegra: clock: Avoid a divide-by-zero error

2017-06-08 Thread sjg
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: Simon Glass Fixes: 7468676 (ARM: tegra: fix clock_get_periph_rate() for UART clocks) ---

[U-Boot] [PATCH v2 14/28] tegra: clock: Avoid a divide-by-zero error

2017-05-31 Thread Simon Glass
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: Simon Glass Fixes: 7468676 (ARM: tegra: fix clock_get_periph_rate() for UART clocks) ---