Richard J. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 1 | config BR2_PACKAGE_HCODE |
| 2 | bool "hcode" |
| 3 | default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9) |
| 4 | select BR2_CPP |
| 5 | help |
| 6 | Project to build the hcode firmware codebase |
| 7 | |
Stewart Smith | 4b6a8ce | 2018-04-26 18:06:24 +1000 | [diff] [blame] | 8 | if BR2_PACKAGE_HCODE |
| 9 | |
Richard J. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 10 | config BR2_HCODE_INCLUDE_IONV |
| 11 | bool "Enables packaging of the NVIDIA GPU image into the final hw image" |
| 12 | default y |
| 13 | help |
| 14 | Boolean used to flag whether to include NVIDIA GPU binary |
| 15 | |
Stewart Smith | 5fb8a33 | 2018-04-26 18:11:38 +1000 | [diff] [blame] | 16 | choice |
| 17 | prompt "HCODE version" |
| 18 | default BR2_HCODE_OP920_VERSION |
| 19 | |
| 20 | config BR2_HCODE_OP920_VERSION |
| 21 | bool "Use latest HCODE stable version (OP920)" |
| 22 | |
| 23 | config BR2_HCODE_LATEST_VERSION |
| 24 | bool "Use latest HCODE master" |
| 25 | |
| 26 | config BR2_HCODE_CUSTOM_VERSION |
| 27 | bool "Custom HCODE version" |
| 28 | |
| 29 | endchoice |
| 30 | |
| 31 | config BR2_HCODE_CUSTOM_VERSION_VALUE |
| 32 | string "HCODE version" |
| 33 | depends on BR2_HCODE_CUSTOM_VERSION |
| 34 | |
| 35 | config BR2_HCODE_VERSION |
| 36 | string |
Stewart Smith | aef1941 | 2018-05-11 11:20:13 -0500 | [diff] [blame] | 37 | default "hw051018a.920" if BR2_HCODE_LATEST_VERSION |
Stewart Smith | d088f6b | 2018-05-11 10:24:10 -0500 | [diff] [blame] | 38 | default "hw051018a.op920" if BR2_HCODE_OP920_VERSION |
Stewart Smith | 5fb8a33 | 2018-04-26 18:11:38 +1000 | [diff] [blame] | 39 | default BR2_HCODE_CUSTOM_VERSION_VALUE \ |
| 40 | if BR2_HCODE_CUSTOM_VERSION |
| 41 | |
Stewart Smith | 4b6a8ce | 2018-04-26 18:06:24 +1000 | [diff] [blame] | 42 | endif |