coreboot-kgpe-d16/src/northbridge/amd/amdk8
Alexandru Gagniuc af4bd599ca 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@gmail.com>
Reviewed-on: http://review.coreboot.org/4681
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2014-01-13 04:03:06 +01:00
..
acpi.c Revert "siemens/sitemp_g1p1: Make ACPI report the right mmconf region" 2013-04-12 11:48:15 +02:00
acpi.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
amdk8.h AMD K8 (rev F): Move rev F0/F1 workaround to header 2013-12-30 07:20:38 +01:00
bootblock.c x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
coherent_ht.c x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
debug.c Clean up #ifs 2012-05-08 00:34:34 +02:00
early_ht.c AMD CPU and chipset fixes for compilation with gcc 4.6 2011-10-15 13:40:17 +02:00
exit_from_self.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
f.h amdk8/amdfam10: Use CAR_GLOBAL for sysinfo 2012-11-28 07:45:05 +01:00
f_pci.c second round name simplification. drop the <component>_ prefix. 2010-12-08 07:07:33 +00:00
get_sblk_pci1234.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
incoherent_ht.c lib: Make log2() available in romstage on ARM, not just x86 2014-01-13 04:03:06 +01:00
Kconfig AMD K8: Define MEM_TRAIN_SEQ only with K8_REV_F_SUPPORT 2013-12-30 07:17:16 +01:00
Makefile.inc Get rid of drivers class 2012-11-27 22:00:49 +01:00
misc_control.c global: Fix usage of get_option() to make use of CB_CMOS_ codes 2013-12-02 22:11:20 +01:00
northbridge.c Replace all occurences of sprintf with snprintf 2014-01-10 18:08:16 +01:00
northbridge.h - 1.1.4 2003-09-02 17:16:48 +00:00
pre_f.h amdk8/amdfam10: Use CAR_GLOBAL for sysinfo 2012-11-28 07:45:05 +01:00
raminit.c AMD boards (non-AGESA): Cleanup earlymtrr.c includes 2013-12-26 23:19:11 +01:00
raminit.h Remove duplicate line from pci_ids.h. 2010-10-07 23:02:06 +00:00
raminit_f.c AMD boards (non-AGESA): Cleanup earlymtrr.c includes 2013-12-26 23:19:11 +01:00
raminit_f_dqs.c AMD K8 (rev F): Move rev F0/F1 workaround to header 2013-12-30 07:20:38 +01:00
raminit_test.c Move C labels to start-of-line 2012-03-07 17:48:03 +01:00
reset_test.c Update AMD SR5650 and SB700 2011-07-22 00:20:59 +02:00
resourcemap.c White space and typo fixes. This makes it easier to compare the s2895 & s2892. 2009-10-14 03:09:26 +00:00
setup_resource_map.c fix some more warnings 2010-07-07 21:59:06 +00:00
thermal_mixin.asl GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
util.asl second round name simplification. drop the <component>_ prefix. 2010-12-08 07:07:33 +00:00
util.c Fix includes for showallroutes. 2010-04-02 20:14:21 +00:00