From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by mx.groups.io with SMTP id smtpd.web12.2344.1662486189249338225 for ; Tue, 06 Sep 2022 10:43:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DkAfCvBn; spf=pass (domain: gmail.com, ip: 209.85.222.172, mailfrom: benjamin.doron00@gmail.com) Received: by mail-qk1-f172.google.com with SMTP id c9so8725946qkk.6 for ; Tue, 06 Sep 2022 10:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date; bh=jQPbGOispXc98Zco+siB7Ew+CyaSgyozeK8KwX9qlr4=; b=DkAfCvBnu67zpEnNz+ik4VYRFHiZLCU/Idziyg6d7gLspCEXrahqRnznmr8m+RjWEE L42ym21LmewOE6DRGp21h/tZI+ZZfUL7FX9Wr6SnO6ohBa+3agEmMItvo9U/B1MXm2Mo EMtDN4vHorlUozQqZWI8GuUb2di6VMLavwdQUEaVh/96vPAvgMui4Wt1YL1Lv+dS5nHK Q+lIJdQcvji2hp3akCXw59mlImzAc26IEA6E2QCYIoF0P1aqbp/Rdq9qJkxggurL+Kpu apGm3UohVh3rpkyLl4X0NIzXeeI02rgzesKP6E4uyk6ztlY4NqXj9AWQqU7kDI9WVY2O f8gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date; bh=jQPbGOispXc98Zco+siB7Ew+CyaSgyozeK8KwX9qlr4=; b=d57y2CKBVJKX8lxhL2eIPpCs94l9HyLtP9aT8aJw86plZjuheC9iuzsCOIascGT0+d D0x828RDYFxwsyVQIkESt/WQw8W+KO1qM9iXMDPuOMLTfXmoev8U+CIIjgFhfegbCdNz vZh94w4EXiMWkT5nKA6nVw+Hidj1fdbb9IXOSuhrXsml6xbhFZND/UK7tATU3F6tBWLz 8qPIotafc9wn4LpYdBUdGMt5uyuiCJrgnQZNnmxJK1JfZutKItCQubLDdRXAq9FtAHTj umgtMNOr8Q/iILzZOY8rK0Yh/WPE2M+OrmB3/wah20/HL+eHAzxEINa3/jcqUFNDnLUZ 3O+w== X-Gm-Message-State: ACgBeo3ujX/G2V8Mt3a8HbutM+tCiGIHDPsRxapKOWJtYQ8GtROicoNh tLRV8hrzK8/SItr2RS96FCJM2boTvbKPiQ== X-Google-Smtp-Source: AA6agR5W+nT49XDUqkKNtPFOe8whELj5ekfBrtpvEfILUhcVkYaImB/FBz3Y2x4uwT7cGLucuOHeyw== X-Received: by 2002:a05:620a:4691:b0:6bb:297e:279 with SMTP id bq17-20020a05620a469100b006bb297e0279mr37206393qkb.35.1662486188056; Tue, 06 Sep 2022 10:43:08 -0700 (PDT) Return-Path: Received: from aturtleortwo-benjamindomain.. ([2607:f2c0:e98c:e:b132:3785:fa38:a51]) by smtp.gmail.com with ESMTPSA id bi3-20020a05620a318300b006b61b2cb1d2sm11221482qkb.46.2022.09.06.10.43.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 10:43:07 -0700 (PDT) From: "Benjamin Doron" To: devel@edk2.groups.io Subject: [edk2-devel][edk2-platforms][PATCH v1 0/7] Date: Tue, 6 Sep 2022 13:42:51 -0400 Message-Id: X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cleanup some unnecessary library #include's and LibraryClasses copied from KabylakeRvp3 as part of the initial bring-up work. Some quality-of-life improvements, such as working Secure Boot. Enhancement to the EC support, preparing to implement the SMI handler. Board detection data is now predictable, though more work is required to finalise the desired output buffer correspondence with board ID. Implement a HII form to control BIOS lock functionality. Other configuration options planned. Benjamin Doron (7): KabylakeOpenBoardPkg/AspireVn7Dash572G: Cleanup library includes KabylakeOpenBoardPkg/AspireVn7Dash572G: Enhance the build-logic KabylakeOpenBoardPkg/AspireVn7Dash572G/Acpi: Improvements for EC ACPI KabylakeOpenBoardPkg/AspireVn7Dash572G/DxeBoardInitLib: Resets notify EC KabylakeOpenBoardPkg/AspireVn7Dash572G: Use Setup to control security KabylakeOpenBoardPkg/AspireVn7Dash572G: Improve board detection KabylakeOpenBoardPkg/AspireVn7Dash572G: Align DEBUG() use .../Acpi/BoardAcpiTables.inf | 4 + .../AspireVn7Dash572G/Acpi/BoardSsdt.asl | 29 +- .../AspireVn7Dash572G/Acpi/battery.asl | 11 +- .../AspireVn7Dash572G/Acpi/ec.asl | 130 +++--- .../AspireVn7Dash572G/Acpi/eclib.asl | 141 +++++++ .../AspireVn7Dash572G/Acpi/mainboard.asl | 6 +- .../AspireVn7Dash572G/Acpi/thermal.asl | 16 +- .../PcieDeviceTable.c | 1 - .../PeiBoardPolicyUpdate.c | 62 ++- .../PeiPchPolicyUpdate.h | 3 +- .../PeiPchPolicyUpdatePreMem.c | 1 - .../PeiSiliconPolicyUpdateLibFsp.inf | 12 +- .../Include/BoardConfigNvData.h | 37 ++ .../Include/Library/BoardEcLib.h | 5 +- .../DxeAspireVn7Dash572GAcpiTableLib.c | 5 + .../BoardAcpiLib/DxeBoardAcpiTableLib.inf | 6 +- .../SmmAspireVn7Dash572GAcpiEnableLib.c | 17 +- .../BoardAcpiLib/SmmBoardAcpiEnableLib.inf | 3 +- .../Library/BoardEcLib/BoardEcLib.inf | 1 + .../Library/BoardEcLib/EcCommands.c | 66 ++-- .../AspireVn7Dash572GHdaVerbTables.c | 3 +- .../Library/BoardInitLib/BoardConfigVfr.vfr | 68 ++++ .../BoardInitLib/BoardConfigVfrStrings.uni | 29 ++ .../Library/BoardInitLib/DxeBoardConfigHii.c | 374 ++++++++++++++++++ .../Library/BoardInitLib/DxeBoardInitLib.c | 116 +++++- .../Library/BoardInitLib/DxeBoardInitLib.h | 131 ++++++ .../Library/BoardInitLib/DxeBoardInitLib.inf | 14 + .../BoardInitLib/PeiAspireVn7Dash572GDetect.c | 47 ++- .../PeiAspireVn7Dash572GInitLib.h | 3 +- .../PeiAspireVn7Dash572GInitPostMemLib.c | 29 +- .../PeiAspireVn7Dash572GInitPreMemLib.c | 38 +- .../BoardInitLib/PeiBoardInitPostMemLib.inf | 4 +- .../BoardInitLib/PeiBoardInitPreMemLib.c | 2 + .../BoardInitLib/PeiBoardInitPreMemLib.inf | 5 +- .../AspireVn7Dash572G/OpenBoardPkg.dsc | 68 ++-- .../AspireVn7Dash572G/OpenBoardPkg.fdf | 3 +- .../OpenBoardPkgBuildOption.dsc | 4 +- .../AspireVn7Dash572G/OpenBoardPkgPcd.dsc | 59 +-- .../DxeGopPolicyInit.h | 3 - .../DxeSaPolicyInit.h | 3 - .../DxeSiliconPolicyUpdateLib.c | 9 +- .../DxeSiliconPolicyUpdateLib.inf | 2 + .../PeiBoardPolicyUpdate.c | 2 +- .../Include/PlatformBoardId.h | 5 +- 44 files changed, 1309 insertions(+), 268 deletions(-) create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/Acpi/eclib.asl create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/Include/BoardConfigNvData.h create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/Library/BoardInitLib/BoardConfigVfr.vfr create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/Library/BoardInitLib/BoardConfigVfrStrings.uni create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/Library/BoardInitLib/DxeBoardConfigHii.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/Library/BoardInitLib/DxeBoardInitLib.h -- 2.37.2