coreboot/src/ec
Julius Werner e9665959ed treewide: Remove "ERROR: "/"WARN: " prefixes from log messages
Now that the console system itself will clearly differentiate loglevels,
it is no longer necessary to explicitly add "ERROR: " in front of every
BIOS_ERR message to help it stand out more (and allow automated tooling
to grep for it). Removing all these extra .rodata characters should save
us a nice little amount of binary size.

This patch was created by running

  find src/ -type f -exec perl -0777 -pi -e 's/printk\(\s*BIOS_ERR,\s*"ERROR: /printk\(BIOS_ERR, "/gi' '{}' ';'

and doing some cursory review/cleanup on the result. Then doing the same
thing for BIOS_WARN with

  's/printk\(\s*BIOS_WARNING,\s*"WARN(ING)?: /printk\(BIOS_WARNING, "/gi'

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I3d0573acb23d2df53db6813cb1a5fc31b5357db8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61309
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Lance Zhao
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
2022-02-07 23:29:09 +00:00
..
51nb/npce985la0dx src: Remove unneeded space in license header 2020-07-26 21:07:36 +00:00
acpi ec/acpi: Remove empty "chip" driver 2021-09-08 18:48:53 +00:00
apple/acpi ec/apple/acpi: Replace Index() with ASL 2.0 syntax 2022-01-01 13:59:39 +00:00
compal/ene932 src/ec: Get rid of unnecessary blank line {before,after} brace 2022-02-04 20:16:42 +00:00
google treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
hp/kbc1126 ec/hp/kbc1126/acpi: Replace Add(a,b,c) with ASL 2.0 syntax 2021-12-31 00:25:05 +00:00
kontron src/ec: Remove unused <delay.h> 2022-01-10 17:40:37 +00:00
lenovo src/ec: Get rid of unnecessary blank line {before,after} brace 2022-02-04 20:16:42 +00:00
purism ec/purism/librem-ec/acpi: Use Printf() for debug prints 2021-12-29 13:36:27 +00:00
quanta ec/quanta/ene_kb3940q/ec.c: Remove unuseful 'return' in void function 2022-02-01 18:05:07 +00:00
roda/it8518 ec/roda/it8518/acpi: Remove unnecessary assignments 2021-07-28 13:50:59 +00:00
smsc/mec1308 ec/smsc/mec1308/acpi: Replace LNot() with ASL 2.0 syntax 2022-01-01 14:25:54 +00:00
starlabs/merlin src/ec: Remove unused <delay.h> 2022-01-10 17:40:37 +00:00
system76/ec ec/system76/ec: acpi: Add dGPU thermal reporting 2021-11-23 09:22:39 +00:00
ec.h