diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2016-03-24 19:31:02 -0500 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2016-03-28 18:20:59 +0200 |
commit | e2e0057ee786d0b4d5ce7b71a6dc9210fc52ae0f (patch) | |
tree | 28517ff19b5654a945bfb40d251d2075b816e6fb /src/southbridge/nvidia/ck804/sata.c | |
parent | ec38c3d956ed2c34f6ae7783d45cfbf4cab3c2df (diff) |
nb/amd/mct_ddr3: Use standard C function calls in mct_ResetDataStruct_D()
Replace open coded memset() functions with calls to the library function.
The new code also explicitly backs up and restores the data structures
that are preserved across calls to mct_ResetDataStruct_D(), and no longer
relies on structure member order to function correctly.
Change-Id: I6dd6377deda0087cd1b65f7555588978657d6516
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: https://review.coreboot.org/14165
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/nvidia/ck804/sata.c')
0 files changed, 0 insertions, 0 deletions