switch-coreboot/src/commonlib
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
..
include/commonlib UPSTREAM: commonlib: move DIV_ROUND macros from nvidia/tegra 2016-09-08 17:57:23 -07:00
cbfs.c UPSTREAM: commonlib: cbfs: Add CBFS attribute support 2016-09-01 19:52:43 -07:00
fsp_relocate.c UPSTREAM: commonlib: update fsp_relocate to make it compatible with UEFI 2.6 2016-09-06 13:26:27 -07:00
lz4.c.inc cbfs: Add LZ4 in-place decompression support for pre-RAM stages 2016-02-22 21:38:37 +01:00
lz4_wrapper.c UPSTREAM: src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy 2016-06-27 17:12:45 -07:00
Makefile.inc UPSTREAM: drivers/intel/fsp2_0: load and relocate FSPS in cbmem 2016-07-19 16:31:34 -07:00
mem_pool.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
region.c UPSTREAM: commonlib/region: allow empty mmap()/munmap() in region_device_ops 2016-08-16 03:08:37 -07:00