coreboot-kgpe-d16/src/include
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
..
boot src: Use 'include <boot/coreboot_tables.h>' when appropriate 2019-10-27 17:48:30 +00:00
console include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
cpu AGESA,binaryPI: Add compatibility wrapper for romstage entry 2019-11-30 08:15:30 +00:00
device mmio: Add clrsetbitsXX() API in place of updateX() 2019-12-04 14:10:37 +00:00
efi
pc80 cpu/x86: Move calibrate_tsc_with_pit() to drivers/pc80 2019-11-02 06:28:28 +00:00
smp
superio superio/hwm5_conf: factor out HWM access from ITE env_ctrl 2019-10-08 18:06:56 +00:00
sys
adainit.h
assert.h
b64_decode.h
base3.h
bcd.h
boardid.h
boot_device.h
bootblock_common.h AGESA,binaryPI: Add compatibility wrapper for romstage entry 2019-11-30 08:15:30 +00:00
bootmem.h include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
bootmode.h
bootsplash.h lib/coreboot_table: Show splashscreen in lb_table_init 2019-09-15 11:10:58 +00:00
bootstate.h
cbfs.h cbfs: switch to region_device for location APIs 2019-11-20 13:27:44 +00:00
cbmem.h lib/cbmem: Remove the cbmem_top_init() hook 2019-11-10 15:39:00 +00:00
cper.h
crc_byte.h lib: add calculate crc byte by byte 2019-11-06 13:58:53 +00:00
ctype.h
delay.h cpu/x86/lapic: Refactor timer_fsb() 2019-09-19 09:28:55 +00:00
device_tree.h
dimm_info_util.h
edid.h
elog.h ELOG: Introduce elog_gsmi variants 2019-11-09 10:49:47 +00:00
endian.h mmio: Add clrsetbitsXX() API in place of updateX() 2019-12-04 14:10:37 +00:00
fallback.h
fit.h
fit_payload.h
fmap.h fmap: Add get_fmap_flash_offset() 2019-09-27 21:59:44 +00:00
gic.h
gpio.h
halt.h
imd.h
inttypes.h
ip_checksum.h
kconfig.h
lib.h
list.h
main_decl.h
memlayout.h lib/fmap: Add optional pre-RAM cache 2019-11-14 03:30:11 +00:00
memory_info.h
memrange.h
mrc_cache.h
nhlt.h
option.h
program_loading.h Program loading: Handoff cbmem_top via calling arguments 2019-10-30 08:33:07 +00:00
ramdetect.h lib: ramdetect: Register exception handlers for ARMv8 2019-08-26 07:14:03 +00:00
random.h
reg_script.h soc/intel/fsp_baytrail: Drop support 2019-11-21 06:41:09 +00:00
region_file.h
reset.h
rmodule.h
romstage_handoff.h
rtc.h
rules.h kill CAR_GLOBAL_MIGRATION leftovers 2019-11-30 16:12:04 +00:00
sar.h
sdram_mode.h
smbios.h SMBIOS: Add 'CXL FLexbus 1.0' memory array location 2019-11-11 22:36:55 +00:00
smmstore.h
spd.h
spd_bin.h lib/spd_bin.c: Drop CAR_GLOBAL_MIGRATION support 2019-11-29 09:09:19 +00:00
spd_ddr2.h
spi-generic.h drivers/spi/spi_flash.c: Add SPI vendor IDs 2019-09-04 22:40:46 +00:00
spi_bitbang.h
spi_flash.h
spi_sdcard.h drivers/spi: add drivers for sdcard mounted on the spi bus 2019-11-14 11:38:38 +00:00
stage_cache.h
stdbool.h include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
stddef.h Split MAYBE_STATIC to _BSS and _NONZERO variants 2019-08-26 20:56:29 +00:00
stdint.h include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
stdlib.h
string.h
swab.h
symbols.h lib/fmap: Add optional pre-RAM cache 2019-11-14 03:30:11 +00:00
thread.h src/: Replace some __PRE_RAM__ use 2019-09-14 11:16:17 +00:00
timer.h
timestamp.h timestamps: Remove TIMESTAMP_CACHE_IN_BSS 2019-09-13 19:48:26 +00:00
trace.h lib/trace: Replace __PRE_RAM__ use 2019-09-23 21:38:50 +00:00
types.h include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
uuid.h lib/uuid: Add UUID parsing function 2019-11-01 11:38:22 +00:00
vbe.h src: Use 'include <boot/coreboot_tables.h>' when appropriate 2019-10-27 17:48:30 +00:00
version.h
watchdog.h
wrdd.h