coreboot/src/drivers
Ricardo Quesada 954df3d6bf include/bcd: move bcd code to commonlib/bsd/include
Move bcd2bin() / bin2bcd() functions to commonlib/bsd/include/

Also, the license is changed from GPL to BSD.
This is because it is needed from "utils" (see CL in the chain).

For reference bin2bcd() & bcd2bin() are very simple functions.
There are already BSD implementations, like these ones (just to
name a few):
https://chromium.googlesource.com/chromiumos/platform/mosys/+/refs/heads/main/include/lib/math.h#67
http://web.mit.edu/freebsd/head/sys/contrib/octeon-sdk/cvmx-cn3010-evb-hs5.c

BUG=b:172210863
TEST=make (everything compiled Ok).

Change-Id: If2eba82da35838799bcbcf38303de6bd53f7eb72
Signed-off-by: Ricardo Quesada <ricardoq@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56904
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-08-23 14:08:47 +00:00
..
acpi/thermal_zone drivers/acpi: Add a chip driver to generate thermal zone 2021-05-20 08:01:11 +00:00
amd src: Use initial_lapicid() instead of open coding it 2021-07-14 02:19:28 +00:00
ams include/bcd: move bcd code to commonlib/bsd/include 2021-08-23 14:08:47 +00:00
analogix/anx7625 drivers/analogix: Increase the clock tolerance from 0.1% to 2% 2021-03-27 10:02:18 +00:00
asmedia
aspeed drivers/aspeed: Fix some issues 2021-02-03 08:53:10 +00:00
broadcom
camera
crb drivers/crb/tpm: Fix compilation on x86_64 2020-12-10 07:25:23 +00:00
elog include/bcd: move bcd code to commonlib/bsd/include 2021-08-23 14:08:47 +00:00
emulation/qemu drivers: Replace set_vbe_mode_info_valid 2020-12-17 06:21:56 +00:00
generic drivers/generic/alc1015: Add HID to support alc1019 2021-08-12 17:57:55 +00:00
genesyslogic drivers/genesyslogic/gl9755: Disable debug mode to enable circuit protections 2021-05-05 11:45:06 +00:00
gfx/generic src/drivers: Remove unused <console/console.h> 2021-02-15 10:48:39 +00:00
gic
i2c include/bcd: move bcd code to commonlib/bsd/include 2021-08-23 14:08:47 +00:00
intel soc/intel/common: Add TGL-H PCI IDs 2021-08-19 13:51:59 +00:00
ipmi src/drivers/ipmi: Add DEBUG_IPMI option 2021-04-18 20:37:10 +00:00
lenovo src: Retype option API to use unsigned integers 2021-05-06 14:48:15 +00:00
maxim drivers/maxim/max77686/max77686.h: Remove repeated word 2021-01-18 07:39:21 +00:00
mrc_cache drivers/mrc_cache: Avoid sizeof on struct type 2021-07-01 07:26:33 +00:00
net cbfs: Replace more instances of cbfs_boot_locate() with newer APIs 2021-03-17 08:10:20 +00:00
ocp/dmi drivers/ocp/dmi/Kconfig: Set FRU_DEVICE_ID depend on OCP_DMI 2021-01-18 07:50:46 +00:00
parade
pc80 include/bcd: move bcd code to commonlib/bsd/include 2021-08-23 14:08:47 +00:00
pcie/rtd3/device drivers/pcie/rtd3/device: Add PCIe RTD3 driver 2021-06-07 11:35:47 +00:00
ricoh/rce822
secunet/dmi
siemens/nc_fpga
sil/3114
smmstore drivers/smmstore: Enable SMMSTORE V2 by default for Tianocore UEFIPAYLOAD 2021-06-07 05:06:23 +00:00
soundwire drivers/soundwire/alc1308 : Add ALC1308 soundwire device 2021-02-27 09:41:42 +00:00
spi drivers/spi/acpi: Update _S0W return value to D3hot 2021-08-09 15:03:21 +00:00
ti include/bcd: move bcd code to commonlib/bsd/include 2021-08-23 14:08:47 +00:00
tpm Apply more uses for Kconfig TPM 2021-05-30 20:14:47 +00:00
uart drivers/uart/acpi: Update _S0W return value to D3hot 2021-08-09 15:03:36 +00:00
usb drivers/usb/acpi: Avoid dereferencing maybe-NULL pointer 2021-07-14 21:26:47 +00:00
vpd commonlib/region: Turn addrspace_32bit into a more official API 2021-04-21 02:06:26 +00:00
wifi/generic SMBIOS: Drop now-unnecessary unions 2021-07-01 07:38:32 +00:00