From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by mx.groups.io with SMTP id smtpd.web12.6109.1624351937922152334 for ; Tue, 22 Jun 2021 01:52:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=ZJgcZVFO; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.167.51, mailfrom: gjb@semihalf.com) Received: by mail-lf1-f51.google.com with SMTP id t17so14504007lfq.0 for ; Tue, 22 Jun 2021 01:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aHz67Db5jki3314ibBKL2v/55u3MrCrpHvFObyDoF2s=; b=ZJgcZVFOBWWB2kkXlb5tvWORRVtQH3sIH6J5M6E0I0VKQAd+XAbKzDdBLOV5Dv7VCK QUJGV/2xz2x4V2a8Gz2+0utmRoYh7tsOwrXRvW0MWt8Z//yB6QXPuw3D/c/85prSSyfZ tlnYMOtdQ9Nczz2FEGgeTID+ILa3pQEoXiv5B9B5jovinYmDe9bIBU8u3xXi03PnbqnU aZXc93O1VN7egtcC4uE2e/9A2UphvRYSnW1HHRcOL13on89PqefpxkeFlb9+POToheFE oYC9F3ETFJzl2/sH0oAO40zmXnlVisbRLLZz4pb2AHKLlcjiv71tJ/uC4QzNG1J8N9Es jt1Q== 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=aHz67Db5jki3314ibBKL2v/55u3MrCrpHvFObyDoF2s=; b=qh1RvlQBoWMWfPuq1W+vOVLk/pvxoP3ltfEOML9BCmUiHiYnHjr1Z7iosEoJtzSJEB JZ4VsBjKzNNN1ixEocT8kh55PeChhY5FFscN3hghBgByZVkH6rSHkcFjMFml8hgVt57m HJbC/SqIvYYA+f+mToP4ahigktWj983aq6AdwNp3jFp8ezRdS8klD86MwLikKqxnS1Eb VoqlGwh3lnfUMcNtmB65U7+a7knuPQCra87VIDdTKIgT6uX/kZi6E0RE6xmeHHKSzmCL K4Mju46XVblr7oDQoeHzNm4R1Tw6u8Bb8Okb8+KMBa1WoC9V2rWQUp8vsxzS58R5ansc B38A== X-Gm-Message-State: AOAM530scLtPzyGi7BNXD6BUSoHBiQxuUNjLV9QCdsXeRWe6pfVEmag4 7ZqKaFIWK8N70Je85e24aP8pDc/hQahTBsjq X-Google-Smtp-Source: ABdhPJyA3Y+OHUnYQ14+YCh/OieRA4ha7NoI8ohBJqgSPkGJBzOzDujFm1Uy4xOUhzIwpGywIHNulQ== X-Received: by 2002:a05:6512:2283:: with SMTP id f3mr800056lfu.632.1624351935585; Tue, 22 Jun 2021 01:52:15 -0700 (PDT) Return-Path: Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id v1sm1423144lfg.217.2021.06.22.01.52.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 01:52:15 -0700 (PDT) From: "Grzegorz Bernacki" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, Samer.El-Haj-Mahmoud@arm.com, sunny.Wang@arm.com, mw@semihalf.com, upstream@semihalf.com, pete@akeo.ie, jian.j.wang@intel.com, hao.a.wu@intel.com, dandan.bi@intel.com, eric.dong@intel.com, Grzegorz Bernacki Subject: [PATCH 0/4] Add BootDiscoveryPolicyUiLib Date: Tue, 22 Jun 2021 10:52:03 +0200 Message-Id: <20210622085206.3561121-1-gjb@semihalf.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patchset extends Boot Maintenance Menu and allows to select Boot Discovery Policy. Raspberry Pi platforms uses the variable to connect specified class of devices on boot. This patchset also removes efdc159e which has similar functionality. Discussion on design can be found at: https://edk2.groups.io/g/rfc/topic/rfc_boot_discovery_policy/82450628 Grzegorz Bernacki (3): edk2: MdeModulePkg: Add BootDiscoveryPolicyUiLib. edk2-platforms: Platform/RaspberryPi: Enable Boot Discovery Policy. Revert "Platform/RaspberryPi: Setup option for disabling Fast Boot" MdeModulePkg/MdeModulePkg.dec | 6 + MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.inf | 52 +++++++ MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h | 22 +++ MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.c | 160 ++++++++++++++++++++ MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.uni | 18 +++ MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibStrings.uni | 29 ++++ MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibVfr.Vfr | 44 ++++++ Platform/RaspberryPi/RaspberryPi.dec | 2 - Platform/RaspberryPi/RPi3/RPi3.dsc | 9 +- Platform/RaspberryPi/RPi4/RPi4.dsc | 12 +-- Platform/RaspberryPi/RPi4/RPi4.fdf | 1 + Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf | 3 +- Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 5 +- Platform/RaspberryPi/Include/ConfigVars.h | 12 +-- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr | 16 +--- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 11 +-- Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c | 96 +++++++++++++++++--- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.uni | 10 +- 18 files changed, 431 insertions(+), 77 deletions(-) create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.inf create mode 100644 MdeModulePkg/Include/Guid/BootDiscoveryPolicy.h create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.c create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.uni create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibStrings.uni create mode 100644 MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLibVfr.Vfr -- 2.25.1