From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::242; helo=mail-wr0-x242.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C582022637DF1 for ; Fri, 20 Apr 2018 08:30:36 -0700 (PDT) Received: by mail-wr0-x242.google.com with SMTP id v15-v6so5965833wrm.10 for ; Fri, 20 Apr 2018 08:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3JJWgByiBI+O0tZgOrl/ViuJXfHwoPk//jPbMy5wTaE=; b=DO0NF8QpyS5f6AdLB6mZrVRJ9XWxPWw7eYDwvp2h45cGJ2KSgaiABqvh3yBsD+HklF AMFOB+qWGVjLTZXwEMzX8nPqPXMndQy/J1eTC9WcDudJm0AK/Sj/wAb1Onse5HLembnx O9KgU4HX41mBgbh22VTEDX9AziAN6w9j1mCK8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3JJWgByiBI+O0tZgOrl/ViuJXfHwoPk//jPbMy5wTaE=; b=WsVOQ5s4cBtBEK4bAch+ojQOxr8HDVeJQTNAqiIF8g8t5cuS+Z3N3K/Sqp/DxNClYn /RnawzUnvGJanVrudeodBrncJojKsEI6LYXKDQICccTGquZbBkrOr2OiAF/4bnmNSFX2 I1QOzNhr2ArLqmJwF1FFMIt07hwjW8n50ip+2Cgk5sWRwCIpWz4e96vwZnv+SqL2/wPm dZ64BLhqUI0InKAJOGgbUWtOQu2PuiH2+DU6s6GhVdmwCDFsAsoBpfpcP4lzVfJavxHH Ga1sjUIItH3SXL6VfyFKBtURJwdylfX05dIJ1ylJp1wdPj9e7LLUTA33ptpOcTLgfJQB 18vA== X-Gm-Message-State: ALQs6tBe9/+vMVMqAEJv9lDMZFgcfQfcYe16ylhpZgr2W91Vo9eRxA49 W+G8dSYR1YTOKGZDx7KWpmNGpg== X-Google-Smtp-Source: AIpwx49q4MojGihN3yPPVKuFgVq54+3wV9ls5Mj6WMncwLpO5vB6Y2gk+GIrwsLpe0T5teiDjhHvuA== X-Received: by 10.28.140.82 with SMTP id o79mr2370006wmd.82.1524238235343; Fri, 20 Apr 2018 08:30:35 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id s15-v6sm6326261wrg.28.2018.04.20.08.30.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Apr 2018 08:30:33 -0700 (PDT) Date: Fri, 20 Apr 2018 16:30:32 +0100 From: Leif Lindholm To: Meenakshi Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, edk2-devel@lists.01.org, udit.kumar@nxp.com, v.sethi@nxp.com Message-ID: <20180420153032.lovolkoga5jjbmqv@bivouac.eciton.net> References: <1518771035-6733-1-git-send-email-meenakshi.aggarwal@nxp.com> <1518771035-6733-38-git-send-email-meenakshi.aggarwal@nxp.com> MIME-Version: 1.0 In-Reply-To: <1518771035-6733-38-git-send-email-meenakshi.aggarwal@nxp.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms 37/39] LS2088 : Enable support of USB controller X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 15:30:37 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 16, 2018 at 02:20:33PM +0530, Meenakshi wrote: > From: Meenakshi Aggarwal > > Enable support of USB drives on ls2088 board. > LS2088 has DWC3 controller > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Meenakshi Aggarwal Reviewed-by: Leif Lindholm > --- > Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.dsc | 1 + > Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.fdf | 13 +++++++++++++ > Platform/NXP/NxpQoriqLs.dsc | 12 ++++++++++++ > Silicon/NXP/LS2088A/LS2088A.dsc | 1 + > 4 files changed, 27 insertions(+) > > diff --git a/Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.dsc b/Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.dsc > index 60449b5..4d32ea5 100755 > --- a/Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.dsc > +++ b/Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.dsc > @@ -114,3 +114,4 @@ > ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf > Silicon/NXP/Drivers/I2cDxe/I2cDxe.inf > Silicon/NXP/Drivers/NorFlashDxe/NorFlashDxe.inf > + Silicon/NXP/Drivers/UsbHcdInitDxe/UsbHcd.inf > diff --git a/Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.fdf b/Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.fdf > index 785f88b..8688d85 100644 > --- a/Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.fdf > +++ b/Platform/NXP/LS2088aRdbPkg/LS2088aRdbPkg.fdf > @@ -151,6 +151,19 @@ READ_LOCK_STATUS = TRUE > INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf > !endif > > + INF MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf > + > + # > + # USB Support > + # > + INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf > + INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf > + INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf > + INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf > + INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf > + > + INF Silicon/NXP/Drivers/UsbHcdInitDxe/UsbHcd.inf > + > # > # FAT filesystem + GPT/MBR partitioning > # > diff --git a/Platform/NXP/NxpQoriqLs.dsc b/Platform/NXP/NxpQoriqLs.dsc > index f5bb2e9..18e8cde 100644 > --- a/Platform/NXP/NxpQoriqLs.dsc > +++ b/Platform/NXP/NxpQoriqLs.dsc > @@ -99,6 +99,7 @@ > VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf > NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf > + NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf > > [LibraryClasses.common.SEC] > PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > @@ -367,6 +368,17 @@ > !endif > > # > + # USB Support > + # > + MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf > + MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf > + MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf > + MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf > + MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf > + > + MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf > + > + # > # FAT filesystem + GPT/MBR partitioning > # > MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf > diff --git a/Silicon/NXP/LS2088A/LS2088A.dsc b/Silicon/NXP/LS2088A/LS2088A.dsc > index 2cff40f..0d8fd82 100644 > --- a/Silicon/NXP/LS2088A/LS2088A.dsc > +++ b/Silicon/NXP/LS2088A/LS2088A.dsc > @@ -68,5 +68,6 @@ > gNxpQoriqLsTokenSpaceGuid.PcdI2cSize|0x10000 > gNxpQoriqLsTokenSpaceGuid.PcdNumI2cController|4 > gNxpQoriqLsTokenSpaceGuid.PcdIfcBaseAddr|0x02240000 > + gNxpQoriqLsTokenSpaceGuid.PcdNumUsbController|2 > > ## > -- > 1.9.1 >