the following patch was just integrated into master: commit fd570665ce9eb76e02d1fe5fb958e87ea017fd73 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Mon Jul 7 20:33:09 2014 +1000
include/stdlib.h: Extend common macro collection
Add the following useful macros:
* Absolute Value Macro * Taking ceiling of (a / b) * Check if value x is a power of 2 or not
Change-Id: I4e9a326aea3cdd963f13548d1fb63331a57d84b1 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com Reviewed-on: http://review.coreboot.org/6198 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi patrick@georgi-clan.de
See http://review.coreboot.org/6198 for details.
-gerrit