| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
if SOC_AMD_OPENSIL |
| 4 |
|
| 5 |
config SOC_AMD_OPENSIL_STUB |
| 6 |
bool |
| 7 |
help |
| 8 |
Select this option to include the openSIL stub in the build that can |
| 9 |
be used for build-testing before the actual openSIL source code for a |
| 10 |
SoC is released. |
| 11 |
|
| 12 |
config SOC_AMD_OPENSIL_GENOA_POC |
| 13 |
bool |
| 14 |
help |
| 15 |
Select this on SoCs that use the Genoa proof of concept version of |
| 16 |
openSIL. |
| 17 |
|
| 18 |
config AMD_OPENSIL_PATH |
| 19 |
string "Path to openSIL source" |
| 20 |
depends on !SOC_AMD_OPENSIL_STUB |
| 21 |
default "$(top)/src/vendorcode/amd/opensil/genoa_poc/opensil" if SOC_AMD_OPENSIL_GENOA_POC |
| 22 |
help |
| 23 |
Set to the path of the openSIL directory containing meson.build. |
| 24 |
example |
| 25 |
|
| 26 |
config AMD_OPENSIL_MPIO_CHIP_H_FILE |
| 27 |
string "Location of specific MPIO chip.h implementation" |
| 28 |
default "$(top)/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.h" if SOC_AMD_OPENSIL_GENOA_POC |
| 29 |
default "$(top)/src/vendorcode/amd/opensil/stub/mpio/chip.h" |
| 30 |
help |
| 31 |
Set to the location of the MPIO chip.h in the selected openSIL |
| 32 |
implementation, so that the common MPIO chip.h file can include the |
| 33 |
specific one. |
| 34 |
|
| 35 |
endif |