coreboot/src/ec
Julius Werner 8f34fdfab3 Remove <swab.h> and swabXX() functions
GCC generates correct code for __builtin_bswapXX() on all architectures,
including ArmV4. It seems that whatever bug caused this to not work back
in commit 879ea7fce8 ("endian: Replace explicit byte swapping with
compiler builtin") has been fixed now. We can eliminate the swabXX()
functions and simplify the code.

All instances that had been calling these functions directly should have
been using real endianness conversions anyway.

Change-Id: I19713fd009aa5c0e01c4a42e0cf012364d6bed60
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90438
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
2025-12-12 07:09:45 +00:00
..
51nb/npce985la0dx
acpi ec/acpi/ec.c: Promote timeout messages to errors 2025-01-22 20:20:44 +00:00
apple/acpi
clevo/it5570e Remove <swab.h> and swabXX() functions 2025-12-12 07:09:45 +00:00
compal/ene932
dasharo/ec ec/dasharo/ec: Add DTT power and battery participants 2025-06-06 13:13:59 +00:00
dell/mec5035 ec/dell/mec5035: Route power button event to host 2025-11-19 13:59:08 +00:00
google ec/google: Check AC charger presence by reading host event register 2025-12-05 14:28:21 +00:00
hp/kbc1126
intel ec/intel: read board ID one time from EC per stage 2025-04-29 18:53:04 +00:00
kontron
lenovo ec/lenovo/h8: Turn on PWR LED 2025-09-03 18:03:05 +00:00
purism tree: Remove unused <stddef.h> 2024-05-29 02:51:20 +00:00
quanta
roda/it8518
smsc/mec1308
starlabs/merlin ec/starlabs/merlin: Fix get_ec_value_from_option() value validation 2025-11-19 09:16:33 +00:00
system76/ec ec/system76/ec: Add config for 2nd fan without GPU 2025-05-14 18:08:44 +00:00
ec.h