coreboot/src/soc/nvidia/tegra
Arthur Heymans 9f6b0e8ab7 UPSTREAM: commonlib: move DIV_ROUND macros from nvidia/tegra
DIV_ROUND_CLOSEST and DIV_ROUND_UP are useful macros for other
architectures. This patch moves them from soc/nvidia/tegra/types.h
to commonlib/include/commonlib/helpers.h .

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/16415
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>

Change-Id: I54521d9b197934cef8e352f9a5c4823015d85f01
Reviewed-on: https://chromium-review.googlesource.com/382713
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-08 17:57:23 -07:00
..
apbmisc.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
apbmisc.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
dc.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
displayport.h rush: Enable dp display 2015-04-14 09:05:00 +02:00
gpio.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gpio.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i2c.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i2c.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pingroup.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pingroup.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pinmux.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pinmux.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pwm.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
software_i2c.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
types.h UPSTREAM: commonlib: move DIV_ROUND macros from nvidia/tegra 2016-09-08 17:57:23 -07:00
usb.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
usb.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00