soc/intel/cannonlake: Report driver strength by _DSM in eMMC ACPI device
commitd2b2be39296d910178173273017800a1b054a1ba
authorKane Chen <kane.chen@intel.com>
Mon, 13 Apr 2020 12:48:54 +0000 (13 20:48 +0800)
committerTim Wawrzynczak <twawrzynczak@chromium.org>
Tue, 28 Apr 2020 15:43:36 +0000 (28 15:43 +0000)
tree093bc25858c3ae8eb5bfb9ab06e361c0eae5d097
parent007faee9486bcc24e1bc7011717ae88d7eb5e62b
soc/intel/cannonlake: Report driver strength by _DSM in eMMC ACPI device

According to doc 621880, it suggests setting 40 ohm in byte 185 in extCSD.

This commit provides _DSM method for driver to query driving strength.

TEST=mmc extcsd read |grep HS_TIMING and found bit[7:4] is set to 4
BUG=b:154159888

Signed-off-by: Kane Chen <kane.chen@intel.com>
Change-Id: I1b4df8b0d1d2cad3a7f521ad47ee5a4b3320c767
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40467
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/soc/intel/cannonlake/acpi/scs.asl