From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5EEB6803D1 for ; Tue, 21 Mar 2017 18:28:32 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 21 Mar 2017 18:28:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,202,1486454400"; d="scan'208";a="63424766" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by orsmga002.jf.intel.com with ESMTP; 21 Mar 2017 18:28:30 -0700 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Feng Tian Date: Wed, 22 Mar 2017 09:28:24 +0800 Message-Id: <20170322012826.13016-1-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 Subject: [PATCH 0/2] MdeModulePkg/Ufs: Wait fDeviceInit be cleared by devices during init X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2017 01:28:32 -0000 The series changes the UFS host to wait for the device to clear the 'fDeviceInit' bit by a device after setting this flag. The series also cleans up the usages of 'EFI_D_XXX' and replaces them with 'DEBUG_XXX' in DEBUG(). Cc: Feng Tian Hao Wu (2): MdeModulePkg/UfsPassThruDxe: Replace 'EFI_D_XXX' with 'DEBUG_XXX' MdeModulePkg/Ufs: Wait fDeviceInit be cleared by devices during init MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c | 89 ++-- MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h | 53 ++- MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c | 471 +++++++++----------- 3 files changed, 312 insertions(+), 301 deletions(-) -- 2.12.0.windows.1