soc/amd/common/vboot: use transfer_buffer_valid function
commit3e22cb6e1c72c5d277e760db3fd56de663715083
authorFelix Held <felix-coreboot@felixheld.de>
Tue, 24 Nov 2020 19:51:54 +0000 (24 20:51 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Mon, 30 Nov 2020 16:29:14 +0000 (30 16:29 +0000)
tree37a47850637305c3fe4acfd5e318937b5a36ba82
parentcd50715e0334fb16006788506e3815e489d337a9
soc/amd/common/vboot: use transfer_buffer_valid function

show_psp_transfer_info reimplemented the functionality of
transfer_buffer_valid, so use replace that with a function call.

Change-Id: Ie3d373b10bdb0ab00640dabeea12b13ec25406cc
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47977
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
src/soc/amd/common/vboot/vboot_bootblock.c