vendorcode/amd/opensil: Add initial setup and API calls
- First a console is set up for opensil. - After that a region in CBMEM is reserved and passed to opensil which will use it as a buffer for input/output information. - Finally opensil is called and the return value handled. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I4833a5a86034a13e6be102a6b68c3bb54108bc9a Reviewed-on: https://review.coreboot.org/c/coreboot/+/76515 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
committed by
Martin L Roth
parent
76e499319b
commit
adee6a6945
@@ -89,6 +89,7 @@
|
||||
#define CBMEM_ID_AMD_MP2 0x5f32504d
|
||||
#define CBMEM_ID_CSE_INFO 0x4553435F
|
||||
#define CBMEM_ID_CSE_BP_INFO 0x42455343
|
||||
#define CBMEM_ID_AMD_OPENSIL 0x4153494C
|
||||
|
||||
#define CBMEM_ID_TO_NAME_TABLE \
|
||||
{ CBMEM_ID_ACPI, "ACPI " }, \
|
||||
@@ -170,5 +171,6 @@
|
||||
{ CBMEM_ID_AMD_STB, "AMD STB"},\
|
||||
{ CBMEM_ID_AMD_MP2, "AMD MP2 BUFFER"},\
|
||||
{ CBMEM_ID_CSE_INFO, "CSE SPECIFIC INFO"},\
|
||||
{ CBMEM_ID_CSE_BP_INFO, "CSE BP INFO"}
|
||||
{ CBMEM_ID_CSE_BP_INFO, "CSE BP INFO"}, \
|
||||
{ CBMEM_ID_AMD_OPENSIL, "OPENSIL DATA"}
|
||||
#endif /* _CBMEM_ID_H_ */
|
||||
|
Reference in New Issue
Block a user