summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/mayan/chromeos.c
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2022-11-17 09:13:31 +0000
committerJulius Werner <jwerner@chromium.org>2022-12-01 22:12:10 +0000
commitd27fff59230ce2f3540a34e79c3632f455616abf (patch)
treea2201437f81cbadd7c5abe178b3e56757cd53a08 /src/mainboard/amd/mayan/chromeos.c
parent3e6abc98d5d07718e325574d060ac36e22c9b288 (diff)
vboot/vboot_common: Fix vboot_save_data() code exclusion guard
Compilers are not optimizing-out code correctly. This patch fixes incorrect behavior by splitting if statement and extracting code to another function, this allowing for better code size optimization and reduction of undefined references. Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: Ia5330efeeb4cfd7477cf8f7f64c6abed68281e30 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69761 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/amd/mayan/chromeos.c')
0 files changed, 0 insertions, 0 deletions