AMD Fam10h: Don't write uninitialized data into ACPI
commit477b4c539a5c05a0ccdf11b68fdff78b2ebe56cb
authorPatrick Georgi <patrick@georgi-clan.de>
Sun, 22 Feb 2015 15:21:01 +0000 (22 16:21 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 23 Feb 2015 19:33:45 +0000 (23 20:33 +0100)
tree8620bdf9d0cc316b0ec77259d27ec1d041fc0cf7
parentb4ad5d0a93e60e887bcda9819597954e72115272
AMD Fam10h: Don't write uninitialized data into ACPI

The goto statement skipped all the code that is necessary
to fill in the data structures that are read right after
the jump.

Since there doesn't seem to be useful data, why write these
ACPI objects in the first place?

Change-Id: I1d06c11a7a31517b81e54159355d5c27e3cc3735
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Found-by: Coverity Scan
Reviewed-on: http://review.coreboot.org/8507
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
src/cpu/amd/model_10xxx/powernow_acpi.c