coreboot-kgpe-d16/src
Julius Werner 1c37157218 mmio: Add clrsetbitsXX() API in place of updateX()
This patch removes the recently added update8/16/32/64() API and
replaces it with clrsetbits8/16/32/64(). This is more in line with the
existing endian-specific clrsetbits_le16/32/64() functions that have
been used for this task on some platforms already. Rename clrsetbits_8()
to clrsetbits8() to be in line with the new naming.

Keep this stuff in <device/mmio.h> and get rid of <mmio.h> again because
having both is confusing and we seem to have been standardizing on
<device/mmio.h> as the standard arch-independent header that all
platforms should include already.

Also sync libpayload back up with what we have in coreboot. (I'm the
original author of the clrsetbits_le32-definitions so I'm relicensing
them to BSD here.)

Change-Id: Ie4f7b9fdbdf9e8c0174427b4288f79006d56978b
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37432
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-12-04 14:10:37 +00:00
..
acpi AUTHORS: Move src/acpi copyrights into AUTHORS file 2019-07-30 11:04:14 +00:00
arch src: Add missing include <stdlib.h> 2019-12-03 11:30:52 +00:00
commonlib src: Add missing include <stdlib.h> 2019-12-03 11:30:52 +00:00
console kill CAR_GLOBAL_MIGRATION leftovers 2019-11-30 16:12:04 +00:00
cpu AGESA: Reduce S3_DATA_SIZE 2019-12-04 12:30:18 +00:00
device device/hypertransport: Drop unused code 2019-11-22 10:41:10 +00:00
drivers mmio: Add clrsetbitsXX() API in place of updateX() 2019-12-04 14:10:37 +00:00
ec ec/google/wilco: Add EC ACPI methods for privacy screen 2019-12-02 23:28:03 +00:00
include mmio: Add clrsetbitsXX() API in place of updateX() 2019-12-04 14:10:37 +00:00
lib lib/imd_cbmem: Rename imd_cbmem into imd, use directly 2019-12-03 15:29:05 +00:00
mainboard mb/google/octopus: Create Lick variant 2019-12-04 14:10:02 +00:00
northbridge amdblocks/acpimmio: Unify BIOSRAM usage 2019-12-04 12:24:25 +00:00
security src: Move 'static' to the beginning of declaration 2019-12-02 15:56:40 +00:00
soc amdblocks/acpimmio: add common functions for AP entry 2019-12-04 12:28:16 +00:00
southbridge amdblocks/acpimmio: Unify BIOSRAM usage 2019-12-04 12:24:25 +00:00
superio superio/aspeed: Remove unused aspeed include path 2019-12-02 12:06:28 +00:00
vendorcode binaryPI: Fix failing AP startup 2019-12-04 12:22:39 +00:00
Kconfig Kconfig: Drop the C_ENVIRONMENT_BOOTBLOCK symbol 2019-11-25 09:17:38 +00:00