Commit Graph

73 Commits

Author SHA1 Message Date
Maciej Pijanowski bbbbb7d07a tree-wide: pre-commit autofixes
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2023-09-25 10:46:39 +02:00
Krystian Hebel 9153b8a4d2 Library/DasharoSystemFeaturesUiLib: fix grammar errors
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
2023-09-20 12:35:23 +02:00
Michał Kopeć 0559f5c52d Library/DasharoSystemFeaturesUiLib/DasharoSystemFeatures.c: fix error after rebase
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2023-09-18 16:20:08 +02:00
Michał Kopeć fd3a3d0ac7 Library/DasharoSystemFeaturesUiLib/DasharoSystemFeaturesStrings.uni: align threshold opt name with docs
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2023-09-18 16:11:49 +02:00
Michał Kopeć 78c72842b3 Library/DasharoSystemFeaturesUiLib/DasharoSystemFeatures.c: remove redundant bat thresh check
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2023-09-18 16:11:22 +02:00
Michał Kopeć 00d93a9ce2 Store both bat thresholds in single efivar
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2023-09-18 16:11:21 +02:00
Michał Kopeć 68859601ec DasharoModulePkg: add option for battery thresholds
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2023-09-18 16:10:34 +02:00
Mixss 30749ad3a6 Library/DasharoSystemFeaturesUiLib: added Enable WiFi + BT radios setting
Signed-off-by: Mixss <michal.ziemiec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2023-09-18 14:28:04 +02:00
Krystian Hebel 0642fc3c2a Library/DasharoSystemFeaturesUiLib/DasharoSystemFeatures.c: warn about network use
DTS will be automatically started after FUM is enabled. Inform user that
Ethernet cable must be plugged in for seamless update process.

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
2023-09-15 15:21:28 +02:00
Mixss 09b7cbf946 Library/DasharoSystemFeaturesUiLib: added menu entry 'Enable Camera' 2023-09-12 08:23:44 +02:00
Husni Faiz 9217b023c9 DasharoSystemFeatures: add OptionROM loading control
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2023-09-03 00:13:34 +03:00
Husni Faiz e4d1cf7913 DasharoSytemFeatures: define OptionROM strings for menu 2023-09-03 00:13:34 +03:00
Husni Faiz ad3c998b1c DasharoSytemFeatures: add PCI OptionROM execution option 2023-09-03 00:13:28 +03:00
Sergii Dmytruk 77f5032dee Add PCI/PCIe option to enable Resizeable BARs
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2023-08-31 14:49:45 +03:00
Sergii Dmytruk 219eb9dc5d Add empty PCI/PCIe Configuration submenu
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2023-08-30 19:46:29 +03:00
Sergii Dmytruk 42c46b4a13 DasharoSystemFeaturesUiLib: use *_QUESTION_ID constants
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2023-08-30 16:20:09 +03:00
Sergii Dmytruk 46b21e865b Add PcdPowerMenuShowSleepType PCD
It controls visibility of sleep type inside Power Management Options
submenu.

The PCD is on by default for compatibility.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2023-08-30 16:20:09 +03:00
Sergii Dmytruk 2f20ce2864 Add Power Management Option for power failure state
Selects state the system gets into when power supply is restored after
power failure.

Adds gDasharoSystemFeaturesTokenSpaceGuid.PcdDefaultPowerFailureState
PCD which sets its default value.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2023-08-30 16:20:04 +03:00
Michał Żygowski b9d29f4253 Library/DasharoSystemFeaturesUiLib/DasharoSystemFeaturesStrings.uni: add prompt-like sign to FUM string
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2023-08-29 09:49:59 +02:00
Michał Żygowski 93d10a6229 Library/DasharoSystemFeaturesUiLib/DasharoSystemFeaturesVfr.vfr: move FUM to the bottom of the page
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2023-08-29 09:49:26 +02:00
Krystian Hebel 482db63a0d Library/DasharoSystemFeaturesUiLib/DasharoSystemFeatures: add FUM
This commit adds option in security menu to enable Firmware Update Mode.
As a result, UEFI variable is set, which will be later caught by
coreboot and acted upon to disable firmware write protections.

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
2023-08-11 17:09:54 +02:00
Michał Żygowski 374b718e64 Library/DasharoSystemFeaturesUiLib: hide OC WDT with PCD if not enabled
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2023-07-21 13:37:57 +02:00
Michał Żygowski 55cca9719d Library/DasharoSystemFeaturesUiLib: make default OC WDT timeout depend on PCD
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2023-07-21 13:28:26 +02:00
Michał Żygowski 809fa30e7d Library/DasharoSystemFeaturesUiLib/DasharoSystemFeatures.c: handle interactive NetworkBoot default
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2023-05-26 13:58:16 +02:00
Michał Żygowski b3f9a01d42 Library/DasharoSystemFeaturesUiLib/DasharoSystemFeaturesVfr.vfr: fix default and add reset requirement
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2023-05-25 18:10:56 +02:00