From | Sunil V L<sunilvl@ventanamicro.com> |
Date | 1/15/2024 12:41 |
To | <caiyuqing_hz@163.com> |
Cc |
<devel@edk2.groups.io>
, USER0FISH<libing1202@outlook.com> |
Subject | Re: [PATCH v2 1/1] Sophgo/SG2042Pkg: Override Sstc extension |
From: caiyuqing379 <caiyuqing_hz@outlook.com>Since the change disables CMO also (BIT 0) which is expected, could you
Override Sstc extension and use SBI calls itself by default for RISC-V
Sophgo SG2042 platform.
Cc: dahogn <dahogn@hotmail.com>
Cc: meng-cz <mengcz1126@gmail.com>
Cc: USER0FISH <libing1202@outlook.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>
Signed-off-by: caiyuqing379 <caiyuqing_hz@outlook.com>
---
Platform/Sophgo/SG2042_EVB_Board/SG2042.dsc | 1 +
1 file changed, 1 insertion(+)
diff --git a/Platform/Sophgo/SG2042_EVB_Board/SG2042.dsc b/Platform/Sophgo/SG2042_EVB_Board/SG2042.dsc
index 3bbaeca16970..127182487126 100644
--- a/Platform/Sophgo/SG2042_EVB_Board/SG2042.dsc
+++ b/Platform/Sophgo/SG2042_EVB_Board/SG2042.dsc
@@ -265,6 +265,7 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
+ gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride|0xFFFFFFFFFFFFFFFC
gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
--
2.34.1