blob: ce0cb187e86ed331c28851300d760493d350904f [file] [log] [blame]
Richard J. Knight3f0e29c2017-10-13 10:39:01 -05001config 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 Smith4b6a8ce2018-04-26 18:06:24 +10008if BR2_PACKAGE_HCODE
9
Richard J. Knight3f0e29c2017-10-13 10:39:01 -050010config 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 Smith5fb8a332018-04-26 18:11:38 +100016choice
17 prompt "HCODE version"
18 default BR2_HCODE_OP920_VERSION
19
20config BR2_HCODE_OP920_VERSION
21 bool "Use latest HCODE stable version (OP920)"
22
23config BR2_HCODE_LATEST_VERSION
24 bool "Use latest HCODE master"
25
26config BR2_HCODE_CUSTOM_VERSION
27 bool "Custom HCODE version"
28
29endchoice
30
31config BR2_HCODE_CUSTOM_VERSION_VALUE
32 string "HCODE version"
33 depends on BR2_HCODE_CUSTOM_VERSION
34
35config BR2_HCODE_VERSION
36 string
Stewart Smithaef19412018-05-11 11:20:13 -050037 default "hw051018a.920" if BR2_HCODE_LATEST_VERSION
Stewart Smithd088f6b2018-05-11 10:24:10 -050038 default "hw051018a.op920" if BR2_HCODE_OP920_VERSION
Stewart Smith5fb8a332018-04-26 18:11:38 +100039 default BR2_HCODE_CUSTOM_VERSION_VALUE \
40 if BR2_HCODE_CUSTOM_VERSION
41
Stewart Smith4b6a8ce2018-04-26 18:06:24 +100042endif