coreboot/src/soc
Jacob Garber 693c55c545 soc/nvidia/tegra124: Assert divisor is non-zero
The logic for the calculation of plld.m is rather complicated, so do a
sanity check that it is non-zero before doing the division.

Change-Id: I60f49b8eed47a3de86713304bde7a4d3f3d935dd
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1260981
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34572
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2019-07-29 06:01:42 +00:00
..
amd soc/amd/picasso: Remove dead SPD size Kconfig symbol 2019-07-21 17:31:01 +00:00
cavium arch/non-x86: Flip HAVE_MONOTONIC_TIMER default 2019-07-09 13:07:38 +00:00
imgtec arch/non-x86: Flip HAVE_MONOTONIC_TIMER default 2019-07-09 13:07:38 +00:00
intel soc/intel/cannonlake: Correct the data type of serial_io_dev 2019-07-29 02:06:36 +00:00
mediatek soc/mediatek/mt8183: Init SSPM 2019-07-26 12:59:28 +00:00
nvidia soc/nvidia/tegra124: Assert divisor is non-zero 2019-07-29 06:01:42 +00:00
qualcomm soc/{qualcomm,rockchip}: Use 'include <stdlib.h>' when appropriate 2019-07-25 16:06:54 +00:00
rockchip soc/{qualcomm,rockchip}: Use 'include <stdlib.h>' when appropriate 2019-07-25 16:06:54 +00:00
samsung arch/non-x86: Flip HAVE_MONOTONIC_TIMER default 2019-07-09 13:07:38 +00:00
sifive arch/non-x86: Flip HAVE_MONOTONIC_TIMER default 2019-07-09 13:07:38 +00:00
ucb lib: Rewrite qemu-armv7 ramdetect 2019-07-28 11:31:42 +00:00