Commit Graph
2030 Commits
Author SHA1 Message Date
Guo Dong 1aff591aa2 ARL: Add GPIO shell command
This is based on GPIO V2 library.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-09-29 16:26:50 -07:00
Guo Dong 69e9996e56 ARL: clean up the code
Remove unused file, definitions or libraries.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-09-29 16:26:50 -07:00
Guo Dong 76ee9f23c6 ARL: Update Top swap lib
Update this library using new P2SB lib.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-09-29 16:26:50 -07:00
Guo Dong 5d51ee9fd4 ARL: Update GpioV2Lib
Make the GpioV2Lib not depend on platform and provide required APIs
Late this library could be used to replace the common GpioV2Lib.

This library could support multiple GPIO controller and the interface
is transparent to caller.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-09-29 16:26:50 -07:00
Guo Dong a199513b27 GPIOV2: Add GPIOV2 data convert tool
This tool does data convert between [.yaml, .dlt] and [.h].
e.g.: Generate GPIO DLT from GPIO .h file
> python Platform\CommonBoardPkg\Tools\GpioV2DataConvert.py
    -w   Platform\ArrowlakeBoardPkg;Platform\ArrowlakeBoardPkg\CfgData;
         Silicon\ArrowlakePkg
    -if  GpioTableArlSPostMem.h
    -of  arls.dlt

NOTE: This tool will search all the paths specified by "-w" to find GPIO
      related definitions.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-09-29 16:26:50 -07:00
Guo Dong 2445f86b29 ARL: Update GPIOV2 silicon library
Update the GPIOV2 platform support library.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-09-29 16:26:50 -07:00
Guo Dong 1503b7558b [ARL]: Add P2sb library
This is a common P2sb read/write library for all the P2SB
devices inside PCH, SOC and IOE.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-09-29 16:26:50 -07:00
Vincent Chen a63818df94 fix: [Common] correct the free memory function for fs load command
When OsLoader shell "fs load" tried to free memory, the
assertion happened with the message "CR has Bad Signature".
It's caused when FreePool() tried to free the memory allocated
by AllocatePages(), and the memory signature is not as expected.
So modify the free memory function to FreePages()

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-09-26 11:38:31 -07:00
costel-ignat f7c6e2466c feat: [RPL-A] Add support for the MBL Automotive CRB board.
- Add support for MBL CRB board.
 - Add HD Audio I2S codecs.
 - PCM3168A codec for MBL RVP boards.
 - Configure GPIO pins to be used as display HPD in the ACPI DSDT table.

Signed-off-by: costel-ignat <costel.ignat@intel.com>
2024-09-24 11:36:55 -07:00
costel-ignat 01b0d3f0c4 feat: [RPL-A] Add support for automotive RVP board.
- Added new CPU Id and Plaform ID (MBL RVP).
- Add PreMem GPIO table.
- Add DDI configuration table.
- Add new SPD entry to accommodate the new memory configuration.
- Add support for PCM3168A Audio Codec.
- Implement board detection over I2c.

Signed-off-by: costel-ignat <costel.ignat@intel.com>
2024-09-24 11:36:55 -07:00
Bruno Achauer 9bdd99ae25 fix: [ADLN] Correct platform id values in ACPI tables update (#2291)
When checking whether to update the RTD3 SSDT table for ADL RVP/CRB
SKUs, the GetPlatformId() return values are compared against the board
id that was probed from the hardware (instead of the platform id to
which the board id was mapped; cf. EcSupport.c).

Signed-off-by: Bruno Achauer <bruno.achauer@intel.com>
2024-09-23 18:46:19 -07:00
Randy 5e79a39c4e feat: [RPLS] Update MR4_hotfix Release
BIOS version is NEX RPL-S MR4/RPL-S Refresh MR2 Hotfix (5134_05) FSP
FSP version is 0C00DE40
platform version is 1.4
Microcode Files are: ['m_07_90672_00000036.pdb', 'm_32_b0671_00000129.pdb']

Signed-off-by: Randy <randy.lin@intel.com>
2024-09-23 10:48:32 -07:00
Vincent Chen 7d5ffb205f [RPLP] Update for MR2 Hotfix release
- FSP version is NEX RPL-P MR2 Hotfix (0C.01.DE.40)
- Microcode version is 4123

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-09-23 10:47:55 -07:00
Antara Borwankar 94515f31c0 [MeFwUpdateLib] Updated the header files
Updated header files to add new csme error codes

Signed-off-by: Antara Borwankar <antara.borwankar@intel.com>
2024-09-17 12:52:15 -07:00
Pastorcici, Mariano-paulX c50658ae6b feat: [common] Enable PCIe resizable BAR support
This commit adds support for PCIe resizable BARsupport.
The feature can be enabled by setting PcdResizableBarSupport
for the board build script and its disabled by default.

Signed-off-by: pastorcx <mariano-paulx.pastorcici@intel.com>
2024-09-09 10:30:57 -07:00
Vincent Chen 32704b0653 feat: [Common] TCC tools related code clean up
Removed the source code related to TCC tools
including DSO switch, SWSRAM switch, TCC subregions
TCC Error Log switch, RTCM, RTCT
The code change applies on TGL/EHL/ADL/RPL/MTL

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-09-06 07:07:57 -07:00
Biswas Arghya 7ac5760e2d feat: [AZB] Update AZB SBL version to 1.4
Update the AZB SBL version to 1.4.

Signed-off-by: Biswas Arghya <arghya.biswas@intel.com>
2024-09-06 07:03:40 -07:00
Biswas Arghya 03988e9580 feat: [AZB] Update Microcode git hash for 0x09
Update the Microcode git hash for m_40_906a4_00000009.mcb.

Signed-off-by: Biswas Arghya <arghya.biswas@intel.com>
2024-09-06 07:03:40 -07:00
Biswas Arghya c15510532d feat: [AZB] Update FSP git commit hash
Update the FSP git commit hash to 4dfe5cb91bfe415c6b0e4488bd4d0cb407d06e82

Signed-off-by: Biswas Arghya <arghya.biswas@intel.com>
2024-09-06 07:03:40 -07:00
costel-ignat b61700defd feat:[ADL-P] Add i2c library
Signed-off-by: costel-ignat <costel.ignat@intel.com>
2024-09-05 07:34:59 -07:00
bejeanmo 407cca9e68 fix: Source Level Debug breaks in X64. (#2283)
DebugAgentLib was using its own IDT Entry structure definition that
didn't adjust for x64. Removed this definition and switched to built
in definition from ProcessorBind.h which does adjust for architecture
correctly.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2024-09-04 16:52:35 +08:00
tsaikevin 94ac64c70e [ADLN] Improve eMMC performance (#2281)
* fix: [ADLN] Prevent to enumerate RP25 and above

PCIe RP25 and above are supported only when PCH seriese is PCH S.
Prevent to enumerate RP25 and above to address resource conflict with eMMC.

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>

* fix: [ADLN] Update eMMC driver strength

Update eMMC driver strength 40Ohm for CRB.
Improve performance benchmark result.

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>

---------

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2024-09-03 19:28:16 -07:00
tsaikevin e609296abe fix: [ARLS] Fix coverity issues (#2279)
Address following coverity issues
1. Integer Overflow or Wraparound (CWE 190)
2. NULL Pointer Dereference (CWD 476)

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2024-08-29 09:31:09 +08:00
Stanley Chang 78227a9020 fix: [ADL-P] replace magic numbers with pimux def
The commit replaces the magic numbers with the newly added pinmux define.

Signed-off-by: Stanley Chang <stanley.chang@intel.com>
2024-08-28 17:18:40 -07:00
Stanley Chang 6f1b513574 fix: [ADL-P] add missing pinmux definitions
Some important pinmux definitions are missing, e.g.,
Both H4/H5 and E12/E13 are for I2C0.

Signed-off-by: Stanley Chang <stanley.chang@intel.com>
2024-08-28 17:18:40 -07:00