Commit Graph

11 Commits

Author SHA1 Message Date
Maurice Ma 0e0eb047e3 Add UpdateMemoryInfo implementation for all open platforms
This patch implemented SOC specific hook to update the memory
map info through UpdateMemoryInfo() API.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2021-10-29 07:49:55 -07:00
Maurice Ma b61baa5a8d [EHL] Add GPIO payload selection configuration
This patch added payload selection GPIO configuration
hardcoded GPIO pin for payload selection.

It also fixed #1196.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Co-authored-by: Lean Sheng Tan <lean.sheng.tan@intel.com>
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2021-09-22 07:20:48 -07:00
Ong Kok Tong 84ccab354e [EHL] Adding option to select new gpio scheme
There is a discrepancy between how Linux reads GPIO
and how bootloader is presenting it. This causes Linux
distros to crash, even in the installer,unless a kernel
module parameter has been passed:
'module_blacklist=pinctrl_elkhartlake'

The customer, Red Hat, is using RHEL 8 4.18.0-315.
There appears to be a discrepancy between how Linux reads GPIO and how
the Intel BIOS is presenting it.

Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
2021-09-11 07:15:54 -07:00
Ong Kok Tong 60f5423552 [EHL] Gpio common lib integration
Integrated EHL GPIO lib into common GPIO lib.

Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
2021-06-04 11:16:39 -07:00
jinjhuli fd1e61f2fa [EHL] PchCycleDecoding support
1. Add missing definition for PchCycleDecoding.
2. Remove PCH H checking.

Signed-off-by: jinjhuli <jin.jhu.lim@intel.com>
2021-04-28 16:19:15 -07:00
Ong Kok Tong 072e242afa [EHL] RTC SMI storm fix
Fix SMI/SCI storm after system wake up from S4/S5 rtc
Clear RTC_EN bit in PM1_EN_STS register

Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
2021-03-25 17:13:31 -07:00
jinjhuli eb55ede62a [EHL] RTC Initialization
RTC initialization everytime CMOS battery refresh.

Signed-off-by: jinjhuli <jin.jhu.lim@intel.com>
2021-03-23 10:37:56 -07:00
koktong-ong 89c6d7f0f9
[EHL] Fix yocto hang issue and s0ix enable (#1009)
Resolved yocto hang issue after booted into OS
for non Fusa sku.
Enabled s0ix for yocto and windows.

Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
2021-02-08 09:10:40 -08:00
jinjhuli 1faaabcd54
[EHL] Set SPI flash EISS and LE (#983)
Set SPI flash EISS and LE in EHL.

Signed-off-by: jinjhuli <jin.jhu.lim@intel.com>
2021-01-25 17:23:04 -08:00
jinjhuli 09f7f879d8 [EHL] Fix EHL Build issue
Fix build issue that cause by missing
HASH_USAGE and ACPI register

Signed-off-by: jinjhuli <jin.jhu.lim@intel.com>
2021-01-23 07:42:06 -08:00
jinjhuli b22ae3c147 [EHL] Initial silicon package baseline for EHL platform support
Build command
python BuildLoader.py build ehl

Stitch command
python Platform/ElkhartlakeBoardPkg/Script/StitchLoader.py
-i <EXISTING_IFWI_IMAGE>
-o <SBL_IFWI_IMAGE>
-s Outputs/ehl/SlimBootloader.bin

*Both command will only works after adding Elkhartlake platform
package in upcoming patch.

Signed-off-by: jinjhuli <jin.jhu.lim@intel.com>
2021-01-21 08:19:50 -07:00