From patchwork Mon Aug 20 10:31:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 144564 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3797076ljj; Mon, 20 Aug 2018 03:31:57 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyEwOFId3BysFVXqPi5ddF7StS0D+iJPt0LSrr4yb2n1r9pLuzIBEwB+arTX+be16SUUGFs X-Received: by 2002:a63:6b86:: with SMTP id g128-v6mr42922181pgc.344.1534761117833; Mon, 20 Aug 2018 03:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534761117; cv=none; d=google.com; s=arc-20160816; b=yT8Odk/hPGwGSdLphf/Wcm2joH0V4oAyKmuLTbyjGW/ElvulnPZRjwS8aBFEffQyld 9udOoocMYj472UvLfKbFtso51OIinZ1g6RMh5llZm0pkhppaKpe9cBf6nQPQp5graehk wT70R/T+JdgNr3l3Q9YYgilJcRgJ8M07qDJTbn04a9JOrIGH0X/rAx7QjNCixZAGIcjY 2EDitVWU59fO8HfUf2w92CvmgNf5cjXejcaKgqbuF91Glz0ISv50JudMXwbHNBbXzBsV cxe/tOauvJK9XT9K6TNgOIb6nSJWQB0NT9OuqEkPQd9n92IgQJHi9SXShjC3dIsK+0bG s1CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=UFNrhVWsooJrZNFLIJKGW2up+Y4O9HwWwjhGI2Hp5Bk=; b=PY6fWV7sXswZYS7VlziLtBVPlnlJqdbFPSzneh3azlqSSnXD6MNjQDqFpEPyQHNXoA /+TzFBSLY+XXJfmE3znws872hZsTAa5DO2iNQQIkKL2Shs3Nh+8qeFZPZLDA1GbCXj/R EbZZAfwIU0xKbpyJ9tc5pDaDDU2y37nJAxV3CRvvt9IWTVPWThyK691/HTgRX3bnWoML nzDG793I9l0Qb5MOZYoJjlj9ebRViCrjM7ndS5x3lrTGn2VuOZjmISUCWFYhrRtrAvD2 GpTycVXDIcIq4eblU8F3BKP1qjBN6cLWIsosg1ZlkUenaU7reJTK8aYo5bts0WuHMWGX EHuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gPjIMJ4V; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id x6-v6si9123737pgk.597.2018.08.20.03.31.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 03:31:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gPjIMJ4V; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 72AF4210F6251; Mon, 20 Aug 2018 03:31:57 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::243; helo=mail-pl0-x243.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x243.google.com (mail-pl0-x243.google.com [IPv6:2607:f8b0:400e:c01::243]) (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 4D3D1210F4BDA for ; Mon, 20 Aug 2018 03:31:56 -0700 (PDT) Received: by mail-pl0-x243.google.com with SMTP id f6-v6so6918472plo.1 for ; Mon, 20 Aug 2018 03:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=MCfyPf8Gu/iLZDazoEmIuVstLlnfYd1QJ+RKDIbiCT0=; b=gPjIMJ4V4exwTrdT6LxSKuvN9J0yYpZbTGHrE3Q1eMcRgdDuZcwXzHxf14WKrqulNe d0Ylo28mxcCfbkzuyRTA/FNayG09dcIoRXlRU+4H4OU/08TQHOAwHMBcUwoQ3dwyBAIm orZEwckC0Ld+ZnqEGucvlNDI6sPgvYXOW+Ak8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MCfyPf8Gu/iLZDazoEmIuVstLlnfYd1QJ+RKDIbiCT0=; b=c1SdkxdIrKCIIgD5z4mTP4Abl5idRyS4QZMfmxhzbtiQZrlmYzpsIY5ZFAMIvVK6Fh XHIQJEaUkuXl8irVlJiZMyOCdzE4/A9x2JoqwJ2hUC0rgDwFPSBRZlpPgXpaH3fqRB4E 8mrIoMK7Dq6eqdAdiuzCcLTZIIBhdwoyyjoJTTYX8OYA3/n3fmjd5s1Nn89RULC/Xu1h O8F2NEGyFzFyS7D3fwL6kPJT6qydT7Dcm0sxOY2eu/hj2fx9hzmh8sfAAxEbkm2FTP2u f8DGl9nXXHx6X40axS0uJAfQsMiQHSmVa/LR2bI4GKtEQrHuE2A9ZrFkX49XTbxiogvc 6mbg== X-Gm-Message-State: AOUpUlHZ9/wcJSeo3v44pB0x1iR2AabVjNdD8fjkmrkBPa5U3MSiG1xD FJhVsLs9HJ13385SKpIcsMSSLIZKIy2APQ== X-Received: by 2002:a17:902:d688:: with SMTP id v8-v6mr15015600ply.278.1534761115190; Mon, 20 Aug 2018 03:31:55 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.180]) by smtp.gmail.com with ESMTPSA id s195-v6sm24217163pgs.76.2018.08.20.03.31.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Aug 2018 03:31:54 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Mon, 20 Aug 2018 18:31:45 +0800 Message-Id: <1534761109-27037-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH edk-platforms v1 0/4] enable USB on HiKey960 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Changelog: v1: * Add UsbSerialNumberLib. * Enable USB device driver on HiKey960 platform. Haojian Zhuang (4): Platform/Hisilicon: add UsbSerialNumberLib Platform/HiKey960: add platform usb driver Platform/HiKey960: add fastboot platform driver Platform/HiKey960: enable usb device driver Platform/Hisilicon/HiKey960/HiKey960.dec | 3 + Platform/Hisilicon/HiKey960/HiKey960.dsc | 13 + Platform/Hisilicon/HiKey960/HiKey960.fdf | 3 + .../HiKey960FastbootDxe/HiKey960FastbootDxe.c | 758 +++++++++++++++++++++ .../HiKey960FastbootDxe/HiKey960FastbootDxe.inf | 63 ++ .../HiKey960/HiKey960UsbDxe/HiKey960UsbDxe.c | 382 +++++++++++ .../HiKey960/HiKey960UsbDxe/HiKey960UsbDxe.inf | 52 ++ .../Include/Library/UsbSerialNumberLib.h | 59 ++ .../UsbSerialNumberLib/UsbSerialNumberLib.c | 341 +++++++++ .../UsbSerialNumberLib/UsbSerialNumberLib.dec | 32 + .../UsbSerialNumberLib/UsbSerialNumberLib.inf | 45 ++ 11 files changed, 1751 insertions(+) create mode 100644 Platform/Hisilicon/HiKey960/HiKey960FastbootDxe/HiKey960FastbootDxe.c create mode 100644 Platform/Hisilicon/HiKey960/HiKey960FastbootDxe/HiKey960FastbootDxe.inf create mode 100644 Platform/Hisilicon/HiKey960/HiKey960UsbDxe/HiKey960UsbDxe.c create mode 100644 Platform/Hisilicon/HiKey960/HiKey960UsbDxe/HiKey960UsbDxe.inf create mode 100644 Platform/Hisilicon/Library/UsbSerialNumberLib/Include/Library/UsbSerialNumberLib.h create mode 100644 Platform/Hisilicon/Library/UsbSerialNumberLib/UsbSerialNumberLib.c create mode 100644 Platform/Hisilicon/Library/UsbSerialNumberLib/UsbSerialNumberLib.dec create mode 100644 Platform/Hisilicon/Library/UsbSerialNumberLib/UsbSerialNumberLib.inf Cc: Leif Lindholm Cc: Ard Biesheuvel -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel