Commit Graph

44 Commits

Author SHA1 Message Date
Syahirah Sabryna bc31badfa8 [UPX i12] Enable Ubuntu boot support
Update Platform ID and display configuration

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2023-05-10 12:36:21 -07:00
Bejean Mosher 96f72c39b8 feat: FuSa Configuration library template, and ADL/RPL FuSa Cfg Data.
Added Null template for FusaConfigLib. Platforms supporting FuSa should
follow this template for enabling FuSa configuration prior to FSP-M and
FSP-S.

Added ADL/RPL CfgData fields for FuSa according to SBL FuSa software
requirements, and dlt file for enabling FuSa and related configuration.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2023-04-26 14:54:21 -07:00
Guo Dong bd36df5fa7 feat: (ADL/RPL) Config FSP post code via Port80 or I2C
Add config data for FSP post code

Signed-off-by: Guo Dong <guo.dong@intel.com>
2023-04-19 09:25:26 -07:00
tsaikevin 801334666a
[UPX i12] Enable UPX i12 basic boot (#1857)
Add support for Up Xtreme i12 ADLP based board.
The PCIe M.2 slot CN12 on the board is able to detect NVMe SSD.
Debug output is enabled at header CN9 on the board(e.g. UART1)
Tested to boot with OS loader payload and UEFI payload.

To stitch the SlimBootloader.bin with IFWI uses StitchLoader.py script with '-p' as given below:

python Platform/AlderlakeBoardPkg/Script/StitchLoader.py -i <BIOS_IMAGE_NAME> -s Outputs/adlp/SlimBootloader.bin -o sbl_upx12_ifwi.bin -p 0xAA000104

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2023-04-03 18:03:21 -04:00
Sindhura Grandhi b0aba716cf [ADLN] Sync different settings
- Match the Pep constraints cfg with that of default.
- Sync few FSP cfg settings.
- Minor clean up.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2023-02-14 10:30:55 -07:00
Bejean Mosher ab37b4737d fix: [ADL/RPL] VTD not getting disabled in FSPM when PcdVtdEnabled=0.
When PcdVtdEnabled or MemCfgData->VtdDisable were disabled,
Fspmcfg->VtdDisable was being left at default value.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2023-02-02 16:54:30 -07:00
tsaikevin 0d1ff5e48f fix: [ADL-N] Removed COM port config from debug interface
When SioInit code configures the COM portsin stage 2, it might have settings conflict
with debug interface. Remove it from FSP config to resolve potential boot issue.

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2023-01-18 10:01:05 -07:00
bejeanmo 298b789632
fix: [RPL-P] TCC/TSN not being enabled correctly on RPL-P. (#1804)
* fix: [RPL-P] TCC/TSN not being enabled  correctly on RPL-P.

TCC and TSN enabling code was being platform limited to exclude RPL-P.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>

* fix: [RPL-P] remove PCH checks prior to enabling TCC/TSN.

Enabling TCC/TSN should be dependent on the PCDs and config data, not PCH
SKU.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2023-01-13 06:54:00 -05:00
Guo Dong e3f80eecfe
[ADL/RPL] Update FSPM Stack (#1766)
Setup FSPM stack base and size based on the car size and
SBL stack and heap size.
This change could avoid the boot issue caused by FSP stack
overflow.

Signed-off-by: Guo Dong <guo.dong@intel.com>

Signed-off-by: Guo Dong <guo.dong@intel.com>
2022-11-29 16:01:55 -05:00
Bejean Mosher 3ce1b070fc fix: [ADL-P/RPL-P] remove RPLP #if encapsulation for eDP fix.
This fix should apply to ADL-P also. For now we will avoid using #if's here
and address any ADL-P issues that come up.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2022-11-22 15:59:14 -07:00
Bejean Mosher 9f1f8264d2 fix: [RPL-P] eDP output not working on DDR5 RVP board.
Needed to set DdiPortAConfig to eDP for DDR5 RVP.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2022-11-22 15:59:14 -07:00
Bejean Mosher 631279c61f feat: [RPL-P] Add support for enabling FSP FuSa features.
FSP UPD FuSa toggles will be set based on new config data fields where
applicable or to predefined values when called for by the FuSa spec.
This requires setting PcdFusaSupport at build time in case platform FSP
doesn't support FuSa.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2022-11-16 14:11:40 -07:00
Bejean Mosher bac196577b fix: [RPL-P] Combined ADL-P and RPL-P RVP board IDs so either can boot.
RPL-P and ADL-P RVPs are essentially identical except for BoardID FRU.
Both need to work with SBL with RPL-P Silicon. To avoid duplicating
config data, this change will treat both as the same board.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2022-10-19 12:47:10 -07:00
Kalp Parikh 4aa2ac2915 feat: [ADLPS] FSP update for pre-MR1 release
FSP update for pre MR1 release

Signed-off-by: Kalp Parikh <kalp.parikh@intel.com>
2022-10-17 11:46:43 -07:00
bejeanmo 15f365d774
fix: [ADL] TCC was never getting enabled via the board config option. (#1715)
PcdTccEnabled was declared as a FeaturePcd which evaluates to a code symbol
and can't be used in a #if. From the preprocessor perspective it is always
undefined. Changed this pcd to a FixedPcd instead.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2022-10-10 16:42:22 -04:00
bejeanmo 526dc9d074
[RPL-P] COM-HPC CRB platform ID, detection, and board specific porting. (#1704)
Added new platform ID for RPLP DDR5 CRB (COM-HPC board). This board has
no EC or board ID FRU, but it is so far the only board in the ADL/RPL
family like this so it is used as a board identification criterion.
Added DdiConfig table as well.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2022-10-06 10:05:38 -04:00
Atharva Lele bbcf03be6b
[ADLN] Update FSP UPD Parameters (#1686)
Updated FSP-M and FSP-S parameters to match with BIOS

Signed-off-by: Atharva Lele <atharva.lele@intel.com>

Signed-off-by: Atharva Lele <atharva.lele@intel.com>
2022-09-16 13:13:44 -04:00
Akshatha Thekkade 9ca881bb91 [ADL] Protect TCC with a feature flag
Include TCC specific code inside TCC feature flag to avoid
build issues on unsupported platforms.

Signed-off-by: Akshatha Thekkade <akshatha.thekkade@intel.com>
Signed-off-by: Sachin Kamat <sachin.kamat@intel.com>
2022-09-09 08:47:38 -07:00
tsaikevin c3e42632ba
[ADLPS] UPD config update (#1680)
Added UPD Ddr4OneDpc in DLT file and removed hard coded value.

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

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2022-09-02 07:36:47 -04:00
Kevin Tsai aef46f64a7 [ADLPS] UPD config update
Aligned FSPM and FSPS UPD settings with BIOS

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2022-09-01 16:10:24 -07:00
Sindhura Grandhi 073e8a9147
[ADL] Memory FSP settings cleanup (#1674)
Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-08-30 15:52:44 -07:00
Ong Kok Tong ba6837ffb6 [ADLPS] CRB PV release update
1. Update BoardID and PlatformID for CRB board
2. Direct return after read board id from smbus to avoid boardid clashing
3. Added ddi config for CRB board
4. Update FSPM UPD due to common value across all sku

Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
2022-08-19 12:01:51 -07:00
Bejean Mosher 5b451b6fca [RPL-P] RPL-P DDR5 RVP Board/Platform ID support.
Added support for RPL-P DDR5 RVP board ID from EC.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2022-08-07 17:21:57 -07:00
Guo Dong 49e23bb324 [RPLP] Add RPL-P PR01 board support
Signed-off-by: Guo Dong <guo.dong@intel.com>
2022-08-05 14:01:10 -07:00
Sindhura Grandhi 9dfc41788d [ADLN] Tcc enabling
- Enable Tcc code path for N series.
- Disable WDT lock UPD since its causing the WDT to expire
even when valid DSO is provided.
- Code clean-up.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-06-22 15:54:51 -07:00
Sindhura Grandhi d5e5ee9ca9 [ADLN] Add ADLN specific info
- Add CPU SKU info.
- Add Interrupt config for N series.

Test = Tested to boot to OS.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-06-09 10:38:34 -07:00
Ong Kok Tong 0dc5b1da43 [ADLN] Read BoardID from SMBus
Ported the SMBus BoardID reading for ADLN
Added CfgData for BoardID get method (eg. SmBus, EC)

Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
2022-06-01 14:02:07 -07:00
jinjhuli 27b3b75338 [ADLPS] FSP update for PV release
FSP UPDs update for PV milestone release

Signed-off-by: jinjhuli <jin.jhu.lim@intel.com>
2022-05-25 09:45:28 -07:00
Raghava Gudla f8ffd17c39
[ADLP] Enable UFS configuration (#1580)
This patch enabled UFS configuration on ADLP platform

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
2022-05-20 17:44:54 -07:00
Sindhura Grandhi 4618fac1c4 [ADLP] Update FSP ingredients
Update FSP UPDs and VBT changes as part of the ADLP MR release.

TEST=Tested to boot to OS.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-05-10 18:48:45 -07:00
Guo Dong fde2520f5c [ADL] expose Lp5BankMode FSP UPD in SBL configuration data
The default FSP UPD value for Lp5BankMode doesn't work
for all the platforms. It would help override it using
SBL configuration data if it is exposed.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2022-04-26 07:49:50 -07:00
Raghava Gudla 7aa9cf6e47
[ADLN] Changes required for ADLN FSP Sync (#1558)
This patch added changes required for ADLN FSP Sync and
also did the following

1) Added SA config for DDR5 CRB
2) Initialized VBT to enable 2 HDMI and a DP port
3) Moved FSPM config to delta file

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
2022-04-25 13:03:34 -07:00
Sindhura Grandhi b6f5c998e7 [ADLN] Fix build issue
WRDS is not defined for ADLN. Hence, add a condition so that
it is skipped for ADLN.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-04-08 15:45:33 -07:00
Sindhura Grandhi 0209d9b3ea [ADL] Remove Cpu stepping condition for HT
The CPU stepping condition is not needed anymore for ADLS.
Removing it for now.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-04-07 11:20:09 -07:00
Raghava Gudla 55735b5727
[ADLS] Update fspm upds using config data (#1532)
This patch updated some more FSPM upd's using
config data.

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
2022-03-29 13:40:01 -07:00
Raghava Gudla d1f9bb461d
[ADLS] Update FSPM upds to latest BIOS (#1530)
This patch updated FSPM UPD to latest BIOS release

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
2022-03-29 09:01:49 -07:00
Raghava Gudla 1bfe28a366
[ADLS] Sync UPD to latest BIOS release (#1529)
This patch updated UPD to latest BIOS release

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
2022-03-25 16:33:01 -07:00
Guo Dong eb91954c66 [ADL] Add a new platform
Add a new SO DDR5 platform ID 0x31.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2022-03-23 14:27:51 -07:00
Raghava Gudla edb83e2fed
[ADLN] Additional RVP support changes (#1513)
Added more changes required for RVP support.

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
2022-03-02 13:24:36 -07:00
Sindhura Grandhi 2cfe5fec46 [ADL] ADL enhancements
- Resolve build issue and did some naming enhancements.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-03-02 11:36:13 -07:00
Raghava Gudla d4bb24fc16
[ADLN] Initial support for ADLN platform (#1501)
This patch added support for ADLN platform.
EC related ACPI changes need to be reinvestigated
as disabling ECAvailable NVS change might be
sufficient to disable EC support in ACPI.

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
2022-02-25 09:44:51 -07:00
Sindhura Grandhi b64aa3f51f
[ADLS] Fix bad DSO failure test case (#1499)
This patch fixes the test case where when a bad dso is
provided, it will revert back to the default dso settings.

TEST= Ran the test case successfully on ADLS board.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-02-22 12:22:39 -07:00
Raghava Gudla a84f5f0058
[ADL] Update FSP UPD params (#1485)
This patch updated UPD params to match latest FSP

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
2022-02-11 17:30:33 -07:00
Sindhura Grandhi 5ab1612bad [ADL] Add Alderlake platform support
This patch adds Platform and Silicon support for Alderlake
project. Currently, FSP and microcode are not publicly
available. So build will fail with errors. We will update
the project whenever they are available.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2022-01-27 16:07:20 -08:00