[coreboot-gerrit] Patch merged into coreboot/master: ec1c83d lib: Make log2() available in romstage on ARM, not just x86
gerrit at coreboot.org
gerrit at coreboot.org
Mon Jan 13 04:03:09 CET 2014
the following patch was just integrated into master:
commit ec1c83d662fd323b127383d356cd688ca02cba68
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date: Sun Jan 12 15:42:58 2014 -0600
lib: Make log2() available in romstage on ARM, not just x86
On x86, log2() is defined as an inline function in arch/io.h. This is
a remnant of ROMCC, and forced us to not include clog2.c in romstage.
As a result, romstage on ARM has no log2().
Use the inline log2 only with ROMCC, but otherwise, use the one in
clog2.c.
Change-Id: Ifef2aa0a7b5a1db071a66f2eec0be421b8b2a56d
Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
See http://review.coreboot.org/4681 for details.
-gerrit
More information about the coreboot-gerrit
mailing list