diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-03-28 16:17:11 -0500 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-29 19:54:47 +0100 |
commit | 3ece5ac40c66c78b4abce74eeec6521ad661c53c (patch) | |
tree | 79d51d1479584789f6c6bcb0ed355ec86af96f50 /src/lib | |
parent | 4fa5fa5088503ff5c168b4fb8d548dd90034d29e (diff) |
stdlib: add ALIGN_UP and ALIGN_DOWN macros
There wasn't an equivalent to align down so add ALIGN_DOWN.
For symmetry provide an ALIGN_UP macro as well.
Change-Id: I7033109311eeb15c8c69c649878785378790feb9
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2951
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions