diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2016-03-07 14:30:47 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-03-11 16:56:56 +0100 |
commit | 8eb221deafcdba4311979e09020335b3cc4722f5 (patch) | |
tree | 79bfc32ee3091292e3f7df363e07208e0239de0e /src/include/rtc.h | |
parent | bbfcf625124da70f67675f2f85aec44ecda00b3e (diff) |
nb/amd/mct_ddr3: Properly initialize arrays and add bounds checks
A couple of arrays were not properly initialized. This
did not appear to affect operation of the codebase however
it led to some ugly values being displayed when debugging
was turned on.
Also bounds check an array index; as before this did not
appear to affect operation but was a potential point of
failure.
Change-Id: I243b7197a74aed78ddca808eb3b0f35f1fe9d95a
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: https://review.coreboot.org/13934
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/include/rtc.h')
0 files changed, 0 insertions, 0 deletions