coreboot/src/cpu
Rizwan Qureshi 3b76048494 UPSTREAM: cpu/x86: Move fls() and fms() to mtrr.h
Move the funtion to find most significant bit set(fms)
and function to find least significant bit set(fls) to a common
place. And remove the duplicates.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/16525
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>

Change-Id: Ia821038b622d93e7f719c18e5ee3e8112de66a53
Reviewed-on: https://chromium-review.googlesource.com/384964
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-13 22:20:01 -07:00
..
allwinner UPSTREAM: src/cpu: Capitalize CPU, APIC and IOAPIC typo fix 2016-08-23 15:36:15 -07:00
amd UPSTREAM: src/cpu: Improve code formatting 2016-09-07 00:16:15 -07:00
armltd vboot2: add verstage 2015-01-27 01:41:40 +01:00
dmp UPSTREAM: src/cpu: Improve code formatting 2016-09-07 00:16:15 -07:00
intel UPSTREAM: Kconfig: Add option for microcode filenames 2016-09-08 17:57:33 -07:00
qemu-power8 cpu/qemu-power8: don't enable it for qemu-x86 2016-02-19 20:03:52 +01:00
qemu-x86 qemu-x86: Enable SMP support 2015-12-08 15:54:27 +01:00
ti UPSTREAM: Kconfig: lay groundwork for not assuming SPI flash boot device 2016-08-19 14:19:51 -07:00
via UPSTREAM: src/cpu: Add required space before opening parenthesis '(' 2016-09-03 23:56:58 -07:00
x86 UPSTREAM: cpu/x86: Move fls() and fms() to mtrr.h 2016-09-13 22:20:01 -07:00
Kconfig UPSTREAM: Kconfig: Add option for microcode filenames 2016-09-08 17:57:33 -07:00
Makefile.inc cpu: Add a way to use microcode .h files back to the build 2015-11-10 19:22:40 +01:00