coreboot-kgpe-d16/src/northbridge/amd/lx
Ronald G. Minnich 5079a0d32f Remove assembly coded log2 function
As we move to supporting other systems we need to get rid of assembly
where we can. The log2 function in src/lib is identical to the assembly
one (tested for all 32-bit signed integers :-) and takes about 10 ns
to run as opposed to 5ns for the non-portable assembly version. While speed
is good, I think we can spare the 15 ns or so we add to boot time
by using the C version only.

Change-Id: Icafa565eae282c85fa5fc01b3bd1f110cd9aaa91
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/1928
Tested-by: build bot (Jenkins)
2012-11-28 07:57:17 +01:00
..
grphinit.c Fix/drop some obsolete comments, 2010-11-18 20:12:13 +00:00
Kconfig amd/lx: Move configuration from source to Kconfig 2012-07-26 21:33:31 +02:00
Makefile.inc Get rid of drivers class 2012-11-27 22:00:49 +01:00
northbridge.c Remove assembly coded log2 function 2012-11-28 07:57:17 +01:00
northbridge.h remove more warnings. move ROOT_COMPLEX selection to fam10 2010-04-15 23:01:59 +00:00
northbridgeinit.c Remove assembly coded log2 function 2012-11-28 07:57:17 +01:00
pll_reset.c amd/lx: Move configuration from source to Kconfig 2012-07-26 21:33:31 +02:00
raminit.c Mark non-returning function as noreturn to help some compiler versions 2011-03-01 07:30:14 +00:00
raminit.h remove more warnings. move ROOT_COMPLEX selection to fam10 2010-04-15 23:01:59 +00:00