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::243; helo=mail-wr0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::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 3FE352035A7CF for ; Thu, 16 Nov 2017 09:43:06 -0800 (PST) Received: by mail-wr0-x243.google.com with SMTP id u40so23542011wrf.10 for ; Thu, 16 Nov 2017 09:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=DlWr8t3TBcazMzXbpccXdM7XX4zFbZmWLT8i+fPaF3A=; b=hbsn2qYnjUSBMRXMLWKFc05yxIvifCUfQ4QpD2SaltcsD5oHCFC0iz8s2+d1bFKJO7 q7pazVWp/temI8braVF+RHCi3ca0cezu7d84imrJbH/2HGDn3GSFT+T/Fz4W2AXz1VMl wxoQUnpRlawjS+f21a2ApwbsjsmXxWEC26lJY= 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=DlWr8t3TBcazMzXbpccXdM7XX4zFbZmWLT8i+fPaF3A=; b=dKopLCSp815XQtFKsGJ2mUFDBavjs0ROIDaI7opO/cgv9wfiOyEXpKGK1/l/VubXu/ yF6JEGShI5wCnqn74Q4VFG2lqnofuVcDAsf6F48ESHzaV69dh6/8fuWTdAzY2xtmuar7 3CCWIWuJjxrXqz7+jjNdyFytT0n/xINNU2kojaGYeC5JiCHR/01+XhmQopAoIt4SChtK jzuyvW8k2Rm2NO6zUjeP4odTCePs5LYvfr2eL2n+3EiJDFY15MAd9KkylUM4LYkbAttp 7o5Xv5H7w3KzKzrtTGtPpIvZoGhr6hCNOOENNwx1tTpdhRUCN97VOqhsdyhQE8D/zWIU mjuQ== X-Gm-Message-State: AJaThX7jLldCBCSp8c8eX/Z4vCTBDuLoHRsf6rK7QhY63hTKsIjdBSe3 BRQSGCAMW3MluKmsOs7GlAEziqrjMdI= X-Google-Smtp-Source: AGs4zMYbwdkrSBseFiKm4hi0zmOZumfm/E3Iz/rvI8bEQSShyctPGo0gJxsowjDZZW70ZVn8JJP6GA== X-Received: by 10.223.184.171 with SMTP id i40mr2337432wrf.124.1510854435210; Thu, 16 Nov 2017 09:47:15 -0800 (PST) Received: from localhost.localdomain ([160.167.170.128]) by smtp.gmail.com with ESMTPSA id 55sm2772135wrw.60.2017.11.16.09.47.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 09:47:14 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Cc: lersek@redhat.com, Ard Biesheuvel Date: Thu, 16 Nov 2017 17:47:06 +0000 Message-Id: <20171116174708.24964-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [PATCH v2 0/2] ArmplatformPkg: clean up PL011 support library 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: Thu, 16 Nov 2017 17:43:07 -0000 Clean up the PL011 UART support library, by moving it into the appropriate place for libraries, and splitting the header file into an implementation and an interface part. Ard Biesheuvel (2): ArmPlatformPkg: reorganize PL011 code ArmVirtPkg: switch to new PL011UartLib implementation ArmPlatformPkg/ArmPlatformPkg.dec | 3 + ArmPlatformPkg/Include/Library/PL011UartLib.h | 187 ++++++++ ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c | 5 +- ArmPlatformPkg/Library/PL011UartLib/PL011Uart.h | 120 +++++ ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.c | 474 ++++++++++++++++++++ ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf | 43 ++ ArmVirtPkg/ArmVirt.dsc.inc | 2 +- ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.c | 5 +- ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.c | 5 +- 9 files changed, 834 insertions(+), 10 deletions(-) create mode 100644 ArmPlatformPkg/Include/Library/PL011UartLib.h create mode 100644 ArmPlatformPkg/Library/PL011UartLib/PL011Uart.h create mode 100644 ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.c create mode 100644 ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf -- 2.11.0