Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 1bfd58c22e1e123b2219ca2f21163c5ab7a7f62f
      
https://github.com/tianocore/edk2/commit/1bfd58c22e1e123b2219ca2f21163c5ab7a7f62f
  Author: Albecki, Mateusz <mateusz.albe...@intel.com>
  Date:   2019-08-13 (Tue, 13 Aug 2019)

  Changed paths:
    A MdeModulePkg/Include/Protocol/UfsHostControllerPlatform.h
    M MdeModulePkg/MdeModulePkg.dec

  Log Message:
  -----------
  MdeModulePkg: Add definition of the EDKII_UFS_HC_PLATFORM_PROTOCOL

https://bugzilla.tianocore.org/show_bug.cgi?id=1343

EDKII_UFS_HC_PLATFORM_PROTOCOL will allow the platform to inject
platform specific logic into standard UFS flows. Right now we
support callbacks pre and post host controller enable and pre
and post link startup. Provided callbacks allow the platform
driver to inject UIC programming after HCE is set which is
a standard initialization step covered by UFS specification as
well as cover some additional use cases during other callbacks.
For instance platform driver may switch to fast mode after link
startup.

We also allow the platform to override host controller capabilities
and version which might be useful to manage silicon bugs or
allow testing experimental features from new versions of the
specification.

Signed-off-by: Mateusz Albecki <mateusz.albe...@intel.com>
Reviewed-by: Hao A Wu <hao.a...@intel.com>


  Commit: 90952ad7339e19b5dcfc44a4559bce813f063e4a
      
https://github.com/tianocore/edk2/commit/90952ad7339e19b5dcfc44a4559bce813f063e4a
  Author: Albecki, Mateusz <mateusz.albe...@intel.com>
  Date:   2019-08-13 (Tue, 13 Aug 2019)

  Changed paths:
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c

  Log Message:
  -----------
  MdeModulePkg/UfsPassThruDxe: Refactor UfsExecUicCommand function

https://bugzilla.tianocore.org/show_bug.cgi?id=1343

UfsExecUicCommand function has been refactored to allow
the caller to check the command results which is important
for commands such as UIC read.

Signed-off-by: Mateusz Albecki <mateusz.albe...@intel.com>
Reviewed-by: Hao A Wu <hao.a...@intel.com>


  Commit: a71272ed7a37e6f6bc1d32f3e72addc63196d933
      
https://github.com/tianocore/edk2/commit/a71272ed7a37e6f6bc1d32f3e72addc63196d933
  Author: Albecki, Mateusz <mateusz.albe...@intel.com>
  Date:   2019-08-13 (Tue, 13 Aug 2019)

  Changed paths:
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c

  Log Message:
  -----------
  MdeModulePkg/UfsPassThruDxe: Refactor private data to use UfsHcInfo

https://bugzilla.tianocore.org/show_bug.cgi?id=1343

Private data has been refactored to use EDKII_UFS_HC_INFO structure
to store host controller capabilities and version
information. Getting host controller data has been moved
into single place and is done before host controller enable.

Signed-off-by: Mateusz Albecki <mateusz.albe...@intel.com>
Reviewed-by: Hao A Wu <hao.a...@intel.com>


  Commit: ecc32c90ee4ad557205cb2725619a3cc2f45ebd0
      
https://github.com/tianocore/edk2/commit/ecc32c90ee4ad557205cb2725619a3cc2f45ebd0
  Author: Albecki, Mateusz <mateusz.albe...@intel.com>
  Date:   2019-08-13 (Tue, 13 Aug 2019)

  Changed paths:
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruDxe.inf
    M MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c

  Log Message:
  -----------
  MdeModulePkg/UfsPassThruDxe: Implement EDKII_UFS_HC_PLATFORM_PROTOCOL

https://bugzilla.tianocore.org/show_bug.cgi?id=1343

This commit adds EDKII_UFS_HC_PLATFORM_PROTOCOL implementation
in UfsPassThruDxe driver in version 1. Driver assumes that at
most one instance of the protocol exists in the system. Presence
of the protocol is not mandatory.

Signed-off-by: Mateusz Albecki <mateusz.albe...@intel.com>
Reviewed-by: Hao A Wu <hao.a...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/12dcad5b1ec5...ecc32c90ee4a


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to