From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mx.groups.io with SMTP id smtpd.web10.3421.1583240908617709011 for ; Tue, 03 Mar 2020 05:08:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=YGDCR9Dv; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.221.66, mailfrom: pete@akeo.ie) Received: by mail-wr1-f66.google.com with SMTP id z11so4219465wro.9 for ; Tue, 03 Mar 2020 05:08:28 -0800 (PST) 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=GW8B5mr+Dq2s2//cx+YEeC8FQT2y99U4vjjmfnzVHIY=; b=YGDCR9DvbeWC/1lHRx3Lk3CF1/Fusi5lxewpGvzc3L4v3U04tFq5J5FR/1ozR70H0N /3Myq1960Bu3BfsSwoFtrf+HeXKk8w/XOQ7lHLRtTARG3rcI0SUjyVLNSCyIXerbSJm/ hNntuy8rzy46fz5OD6Jec0BT3f3cQ8d5bVLYqgfpQuDN0/8d5Prng7/3ddrlWWXvWRa2 t54xJE5ZaQ/5Y9u9mShExq8m9bt4nMz6pgDELGPg3i7FFrUY+n+ANCDezlF/O4aFymGU QcMSxkL0lQ4Tar2fh1sAzm+doxwTXX0zLfNN3sVO8IO9OeA4svAA92sJempyRZTcME0+ OeXg== 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=GW8B5mr+Dq2s2//cx+YEeC8FQT2y99U4vjjmfnzVHIY=; b=ReacsTOnQXUx8W7xM8OTUas/VaKuzWS4s7ljiPuGODhBSr5ueSZOAnnjXGnWyT8fpR 9wiYxgj78zr/WUTLa4ZV1v6sOiToIsUCn25jNhuypZFQamQEAVxrA9Jj1JHPDwr6haFT 5UjgTQh/haEh9e3Za6a/rRpypMYyfBjRaivTjbo0hpbqhh/cq0nxyyxxWxQHFb67gJK9 OCfqHquOR5cuWsQ11tcYvxcZ5x9XhzO9a/TA5VBUSETRYX/ycfSNogiaziarTs/P3m7g ytVUHw7PLEAy594bMVYmMyDwBNavC6oZRGAikJvJ59sDoT06H6hzyRB2gzPwbXT2Jl7g oHnw== X-Gm-Message-State: ANhLgQ1fTfT6XGLd1YoL43W6miuvsDWsW0GcFk9Sv4aUH834jhIxXOkV 7Jh5XggIcBK4xZQL9ag9todl0ahezyQ= X-Google-Smtp-Source: ADFU+vv7THV3B436xAHuWCytzxmAQ/rU/iGFWTy3O/MxR79aTw8WzoG7dtY+YGW4jzNU6mt85YBirw== X-Received: by 2002:adf:f20f:: with SMTP id p15mr5826426wro.219.1583240906698; Tue, 03 Mar 2020 05:08:26 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.56.244]) by smtp.gmail.com with ESMTPSA id j5sm3907620wmi.33.2020.03.03.05.08.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2020 05:08:25 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif@nuviainc.com, philmd@redhat.com, awarkentin@vmware.com Subject: [edk2-devel][PATCH v2 0/6] Platform/RPi: User config improvements Date: Tue, 3 Mar 2020 13:08:08 +0000 Message-Id: <20200303130814.3092-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: * Split first commit into 2 patches. * Clarify commit message for 3/6 and remove extra line-removal hunk. * Improve and clarify computation of 3G+ segment size in ConfigDxe.c/ApplyVariables (). * Minor whitespace fixes (e.g. "3GB" -> "3 GB" in strings). Andrei Warkentin (4): Platform/RPi: Add firmware call to read installed memory size Platform/RPi: Use GetModelInstalledMB () to read RAM size Platform/RPi: Separate RAM descriptors between 0-3 GB and 3+ GB Platform/RPi: Make 3GB/4GB a runtime (BIOS setup) choice Pete Batard (2): Platform/RPi: Make Device Tree provision a runtime (BIOS setup) choice Platform/RPi/ConfigDxe: Improve RPi configuration form Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 80 ++++++++++++++++--- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf | 9 ++- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.uni | 38 ++++++--- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr | 84 +++++++++++++++++--- Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.c | 5 ++ Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.inf | 3 + Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 10 +-- Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c | 29 ++++++- Platform/RaspberryPi/Include/Protocol/RpiFirmware.h | 47 ++++++----- Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf | 3 - Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c | 32 +++++--- Platform/RaspberryPi/RPi3/RPi3.dsc | 11 +++ Platform/RaspberryPi/RPi4/RPi4.dsc | 16 ++-- Platform/RaspberryPi/RPi4/RPi4.fdf | 2 - Platform/RaspberryPi/RPi4/Readme.md | 15 ++-- Platform/RaspberryPi/RaspberryPi.dec | 6 +- 16 files changed, 297 insertions(+), 93 deletions(-) -- 2.21.0.windows.1