UPSTREAM: soc/mediatek/common: Print DRAM calibration status as string

Logs such as "DRAM-K: calibration failed: status = 1" give little
information about the failure reason. Add get_status_string() and use it
to print the return status as a string.

(cherry picked from commit 9a3818f9b6e7c19d4b8b9b4859d6767f4213c956)

Original-Change-Id: If20282f0de7ba8ce884d0016fe8da1dc93a33ea4
Original-Signed-off-by: Yu-Ping Wu <[email protected]>
Original-Reviewed-on: https://review.coreboot.org/c/coreboot/+/90484
Original-Reviewed-by: Yidi Lin <[email protected]>
Original-Tested-by: build bot (Jenkins) <[email protected]>
Original-Reviewed-by: Chen-Tsung Hsieh <[email protected]>
GitOrigin-RevId: 9a3818f9b6e7c19d4b8b9b4859d6767f4213c956
Cr-Build-Id: 8695571093982353777
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8695571093982353777
Copybot-Job-Name: coreboot-main-copybot-downstream
Change-Id: I06fb680d19e8e4c62729d120c233032e4a947891
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/7258060
Bot-Commit: ChromeOS Copybot <[email protected]>
Commit-Queue: ChromeOS Copybot <[email protected]>
Tested-by: ChromeOS Copybot <[email protected]>
1 file changed