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=PuKIGRpA; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.208.43, mailfrom: pete@akeo.ie) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by groups.io with SMTP; Tue, 02 Jul 2019 09:13:56 -0700 Received: by mail-ed1-f43.google.com with SMTP id r12so27840349edo.5 for ; Tue, 02 Jul 2019 09:13:55 -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=M2i1a/UEMbxg6Pdj5nbBfvBxI4OS2S82BcUST6uyhxs=; b=PuKIGRpAlCDkncTdN9W045GOcN/hG56rHTlEdg1b+HJ2T2FvAUvAGFCBlI2Lju6XV9 pId1QUfGiIsNMlotOS4eUzs4KBw3axc3X2GTBEzfyiN83YUKzIzCwjdX1BQ35hnbvlqi MVzf+KWHChybBBunyaBtxcqbYrC69ks4hJI6frE8nlyl28M6zVSB6jmls0RPxu2f/rPG 6pf1B4TEf/OoEoM70eHDT862GH/9Qk7SE6v01QvJa6r9WQl1jBFVB7TZJTC8PHjyHdmF v8hVCYIFUZf6LjKkLzK4HHWt0bVdJocOHQgLxlHsoNzgGYr3DWEjoJ67Rp69Po9OuGO9 9kQA== 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=M2i1a/UEMbxg6Pdj5nbBfvBxI4OS2S82BcUST6uyhxs=; b=ccOwlP420p0YfBEP12/KWewR+LG8YBhZIBF7esatFQqZ4uLAhEWafs/H0JiNPtcufT JbKIJCbE432Gy/RXc2J2Kg5VWVt3O3f3niG7x5XtFLfWj6uuYCeVq1yXw1gzQ6W+sxlo OlMXexFIah6zJkJrbC7wPB69S/sqzDWoJvEYWusw7i0mNuSO9uUQrboVapLaSiWEIseZ h061Vf8aUA4wG6F2HgI9qZlM8Zbesz/xlE7f1zgI/z5RLIIFatcSm8BMFTPKs3FRtdWt t9IUAEmq6Y6qaeOquTXbk2pnlrVkk6WboW7hDNQg+Dd1sROgEKIMDlmPlVSgV29vij2v yRog== X-Gm-Message-State: APjAAAUXexLhuKOe9wt3lu1acJXBnkl58NPUpft/oOtS2raOlhTi53Mc o/gdOikkt94pjLXfQVhZ1K4jeSKJBTg= X-Google-Smtp-Source: APXvYqz2fABINBLK41dBkSqmCmURQoKVDKGcIHWW3WaelWMq9tUZa8mmqLL3ssIpRm75CDkc4B4cFA== X-Received: by 2002:a50:d1c6:: with SMTP id i6mr36133603edg.110.1562084034038; Tue, 02 Jul 2019 09:13:54 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.93.8]) by smtp.gmail.com with ESMTPSA id j11sm2355791ejr.69.2019.07.02.09.13.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2019 09:13:52 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-platforms: PATCH 0/2] Platform/RPi3 improve boot order and add custom freqs Date: Tue, 2 Jul 2019 17:13:39 +0100 Message-Id: <20190702161341.2652-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The following 2 patches update the Raspberry Pi 3 platform to: - Remove UEFI Shell as default boot target, to instead default to SD then USB, which is the what most users of the UEFI firmware are likely to expect. - Add the ability to set a custom CPU frequency [100 - 1600 MHz] instead of only allowing to pick from a limited set of default values. Regards, /Pete Pete Batard (2): Platform/RPi3: Set the boot option of UEFI Shell as non-active Platform/Rpi3: Add custom CPU frequency support Platform/RaspberryPi/RPi3/Drivers/ConfigDxe/ConfigDxe.c | 13 +++++++++++- Platform/RaspberryPi/RPi3/Drivers/ConfigDxe/ConfigDxe.inf | 1 + Platform/RaspberryPi/RPi3/Drivers/ConfigDxe/ConfigDxeHii.uni | 4 ++++ Platform/RaspberryPi/RPi3/Drivers/ConfigDxe/ConfigDxeHii.vfr | 22 ++++++++++++++++++++ Platform/RaspberryPi/RPi3/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c | 4 +++- Platform/RaspberryPi/RPi3/Include/Protocol/RpiFirmware.h | 3 ++- Platform/RaspberryPi/RPi3/Library/PlatformBootManagerLib/PlatformBm.c | 2 +- Platform/RaspberryPi/RPi3/RPi3.dec | 17 ++++++++------- Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + Platform/RaspberryPi/RPi3/Readme.md | 6 +++--- 10 files changed, 58 insertions(+), 15 deletions(-) -- 2.21.0.windows.1