From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=lQE6icTk; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.47, mailfrom: pete@akeo.ie) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by groups.io with SMTP; Fri, 16 Aug 2019 03:00:23 -0700 Received: by mail-wm1-f47.google.com with SMTP id 207so3575437wma.1 for ; Fri, 16 Aug 2019 03:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NpdBhgKUFBYxrCWuT+tHrTMBIEOSS9ctxXDq/sd2k70=; b=lQE6icTkZvX5gfItwJbEbKErdTSWt+FyFIvACGABOPR4NLFGnrRwxBPXMSSBjTOUwl /c72bIzsHs34Ym1vT2f6zAJpVU+Nz0dPqbDuBSc/EQ8vcN50Z3arhFxt2PGxx4oU7qi5 mptq6rGaAwdeRDdBqTYbhzQzkR0QNdtkD8vWhWHpYsSbMb5OOWgHuxn5X5ukNBDp4yUb 3fIiBnnL3rmQdlHBoakjHd8+djsRdDi4hkEp8QV/Jx9OkM7CtjLlBhF2J86e0VD7bUqf 2cueoaqrv4xeJ1xpkn/GjiqQm4QKTrH0tlY7UebelgCPRWLjxSuq/HfLoJvzXax9p0Q9 XN9A== 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:mime-version :content-transfer-encoding; bh=NpdBhgKUFBYxrCWuT+tHrTMBIEOSS9ctxXDq/sd2k70=; b=d2zVdAlEy757tY7OGRDXfSnsTsiy+RUIPL3HPVgSreF1a232IBp9rdouQD8S9Aez4s Wym1C5YzNLAyxgPdW3XBnWdcE4QHO98EaYGAofBYg/36C950Xz1BziDy4MWVY9Cx2EPf V8lry8iBBVxx0Lcx6hWdMiZg2ivNXj+gpde0xE/S+ibdpPtJLOjgkuWau0IDlsiKurHZ 0G+DtaQ2UC4J1fpuqzXmKovvjvqHGAvkCthIzkwXZKAGT/L3Vv6uw7//eVAXNxweseoF hHyTGpXoU6lwpNLKlry4r+JtaoXNpY7oNHPuw2ULquGZYOXh2annMGRwhgzwPz13wgSf xslw== X-Gm-Message-State: APjAAAWi5WB3y+Jmtv9EvlxQV5crX7YUnKF61eUxKb8WIz3Lr4Sv4K5x WlXTPbIZ63k1mHbk4itRtzagdksbYfM= X-Google-Smtp-Source: APXvYqxkhRbkHMpir21dgly7l8wNGCYK2itmYsNlLwqMZ/WG9PYzh2NDRNGvjD+vfI3TI26NaBn3Sw== X-Received: by 2002:a1c:a9ce:: with SMTP id s197mr6216004wme.35.1565949621783; Fri, 16 Aug 2019 03:00:21 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.61.230]) by smtp.gmail.com with ESMTPSA id j16sm4750851wrp.62.2019.08.16.03.00.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Aug 2019 03:00:20 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-platforms: PATCH v2 0/2] Platforms/RPi3: Device Tree driver improvements Date: Fri, 16 Aug 2019 11:00:07 +0100 Message-Id: <20190816100009.3360-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Changes from v1: - Break down DEBUB output embellishments from the other code changes. - Use GUIDs that are explicitly named after each platform/model rather than generic ones. - Drop the use of a GUID table/index and use a single GUID variable instead. - Add additional fallback in case the required internal Device Tree cannot be located (e.g. missing from the FDF). - Ensures that all of the Device Tree selection and fallback can be set up in the .dec (FdtDxe reusability). - Add premilinary Raspberry Pi 4 support (FdtDxe reusability). Note: Since the changes required to support the Raspberry Pi 4 are a direct byproduct of the changes required for multiple Device Tree support, I did not feel the need to break them down into a separate patch. Pete Batard (2): Platforms/RPi3: Improve debug output in FdtDxe Platforms/RPi3: Add multiple embedded Device Tree selection Platform/RaspberryPi/RPi3/Drivers/FdtDxe/FdtDxe.c | 78 +++++++++++++++----- Platform/RaspberryPi/RPi3/Drivers/FdtDxe/FdtDxe.inf | 5 +- Platform/RaspberryPi/RPi3/RPi3.dec | 8 +- Platform/RaspberryPi/RPi3/RPi3.fdf | 6 +- 4 files changed, 77 insertions(+), 20 deletions(-) -- 2.21.0.windows.1