soc/amd/common: Add generic create_struct call to wrapper
commit4c5a3b67e0767c59e9db27fa84e09effcb57209e
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Thu, 25 Jan 2018 18:13:35 +0000 (25 11:13 -0700)
committerMartin Roth <martinroth@google.com>
Wed, 7 Feb 2018 16:39:50 +0000 (7 16:39 +0000)
treeac1eeaa90f86f5e8c2afa9729d7a478a7caff68d
parentc8fcc460252ca3470ba5857ca19754672e2d5b4c
soc/amd/common: Add generic create_struct call to wrapper

Create a generic function that reports an unsuccessful call to
AmdCreateStruct().

Change-Id: I2654b4f21de5a2621086142681181a687be2c8e3
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/23440
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
src/soc/amd/common/block/pi/agesawrapper.c