From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-x233.google.com (mail-wr0-x233.google.com [IPv6:2a00:1450:400c:c0c::233]) (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 63CE82041D9C8 for ; Wed, 29 Mar 2017 06:48:45 -0700 (PDT) Received: by mail-wr0-x233.google.com with SMTP id k6so9916552wre.2 for ; Wed, 29 Mar 2017 06:48:45 -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=RouMLJSnvoA7IjncQUAbg8Xv6G2VW1Hqek7CAz/JBe8=; b=cm8RRWqBqCQB7jYzno+a8NQIV3IFca7NfFM3a47jtDKlhBJLLeLXmuWGpFo2rsqzQz ZB5XY3g8rqNXh3rq6ahzNpDeY/H/SLdCTzPsnNsu7lLLW81nCl32OqaOAcklHaeo9aPV hy/DfwfEj7zhWyDg58uHhTDgLuS1d7eUh7Fso= 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=RouMLJSnvoA7IjncQUAbg8Xv6G2VW1Hqek7CAz/JBe8=; b=ee6X1C8NPoj9IR+++quofwW1zFrAU/+SPP/pqTRitgGZ0lp/tX5ro6hWpqdV+mLPK3 NPHeWB8KsmIQdyHLMhgaIdKGUhvk9TlzDiIgOg47Jx/w2ZDhbYakiKryro6h4Kca3rte l1/DxunxN2NOTlWskO2q+o2GaF+tcZbeNUtfDRIZhGM/FPPYYAMBnOvWxdEthGER0ge9 zxMgJ8FPa+yXrrTy2MDYN9eHR45pYh2FLX/JTIO4JX/kuw0hCrcjKg94JpAfwDy0SOkM kdehQQhJ5WllWoXQqsqKSgBst92giiPzN3wKiGzQppg8xulSxVydo3v3noejfMHd49EB JBPQ== X-Gm-Message-State: AFeK/H2ufN/bGU4jIfislNE/QG8L0Ykyqu3aeSpjXa+ew0nySLBbeFdrDHV6BLRRcQY91ZdT X-Received: by 10.28.183.4 with SMTP id h4mr1551180wmf.140.1490795323740; Wed, 29 Mar 2017 06:48:43 -0700 (PDT) Received: from localhost.localdomain ([196.81.160.3]) by smtp.gmail.com with ESMTPSA id h65sm9479406wrh.32.2017.03.29.06.48.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Mar 2017 06:48:43 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Cc: lersek@redhat.com, ryan.harkin@linaro.org, Ard Biesheuvel Date: Wed, 29 Mar 2017 14:48:27 +0100 Message-Id: <20170329134833.12956-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.9.3 Subject: [PATCH 0/6] Embedded|ArmPlatformPkg: spring cleaning + DtPlatformDxe switch 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, 29 Mar 2017 13:48:45 -0000 This implements the upstream part of switching VExpress TC2 and the AArch64 FVP Foundation/Base models to the new DtPlatformDxe driver, which is much simpler and only allows ACPI or DT to be enabled but never both. Patches #1 and #2 tweak the new DtPlatformDxe so it can choose from several builtin DTBs depending on the actual platform detected at runtime. Patches #3, #4 and #5 are basically preparatory cleanup that allows patch #6 to radically change ArmFvpDxe without affecting other users. Patch #6 removes all the handling of FDT device paths, string PCDs that have to be initialized to 128 spaces and other awkwardness, and simply sets the default DTB file section index based on the detected platform. Ard Biesheuvel (6): EmbeddedPkg/DtPlatformDxe: allow multiple entries in DTB FV file EmbeddedPkg/DtPlatformDxe: declare symbolic name for FILE_GUID ArmPlatformPkg/ArmShellCmdRunAxf: remove BdsLib dependency ArmPlatformPkg/ArmVExpressDxe: remove ARM support ArmPlatformPkg/ArmVExpressDxe: remove unused cruft from ArmHwDxe ArmPlatformPkg/ArmVExpressDxe: simply FDT handling in ArmFvpDxe ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/AArch64/ArmFvpDxeAArch64.c | 60 +++------ ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/Arm/ArmFvpDxeArm.c | 84 ------------ ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.c | 134 ++------------------ ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf | 42 ++---- ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmHwDxe.c | 43 +------ ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmHwDxe.inf | 3 - ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmVExpressCommon.c | 48 ------- ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmVExpressInternal.h | 52 +------- ArmPlatformPkg/ArmVExpressPkg/ArmVExpressPkg.dec | 28 ---- ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf | 1 - ArmPlatformPkg/Library/ArmShellCmdRunAxf/RunAxf.c | 58 ++++++++- EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c | 5 +- EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf | 6 +- EmbeddedPkg/EmbeddedPkg.dec | 6 + 14 files changed, 108 insertions(+), 462 deletions(-) delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/Arm/ArmFvpDxeArm.c delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmVExpressCommon.c -- 2.9.3