diff options
author | Keith Hui <buurin@gmail.com> | 2023-03-23 15:45:37 -0400 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-05-19 10:12:00 +0000 |
commit | d118b8e518718f5cd15957cd91477cbd26054440 (patch) | |
tree | 9bd2d4489abb6abcc979fc59c938a973958639b5 /src/soc/intel/meteorlake/systemagent.c | |
parent | caf27adb1b35cafd44003a40b9304358a171aa84 (diff) |
nb/intel/i440bx: Compact debug messages
With RAM init debug messages enabled, debug messages take up a lot of
flash space in romstage, with many repeated verbiage. By breaking
them up and factoring out the common verbiage, made possible with
printk(BIOS_DEBUG, "%s", ...), compiler can help deduplicate things
and make the romstage smaller.
When building for asus/p2b-ls with CONFIG_DEBUG_RAM_SETUP, this patch
shrunk romstage by 152 bytes.
Change-Id: I66e39e7901efbeb5ab72494ac02fc4d5e687c3a3
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74032
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/meteorlake/systemagent.c')
0 files changed, 0 insertions, 0 deletions