blob: 30d54756446cade8b0ac6b688a3863d6a2de5570 [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"
Stewart Smithd68fc1f2018-05-16 21:11:31 -050018 default BR2_HCODE_LATEST_VERSION
Stewart Smith5fb8a332018-04-26 18:11:38 +100019
Stewart Smith5fb8a332018-04-26 18:11:38 +100020config BR2_HCODE_LATEST_VERSION
21 bool "Use latest HCODE master"
22
23config BR2_HCODE_CUSTOM_VERSION
24 bool "Custom HCODE version"
25
26endchoice
27
28config BR2_HCODE_CUSTOM_VERSION_VALUE
29 string "HCODE version"
30 depends on BR2_HCODE_CUSTOM_VERSION
31
32config BR2_HCODE_VERSION
33 string
hostboot20ec92e2019-02-07 02:50:55 -060034 default "hw020619a.930" if BR2_HCODE_LATEST_VERSION
Stewart Smith5fb8a332018-04-26 18:11:38 +100035 default BR2_HCODE_CUSTOM_VERSION_VALUE \
36 if BR2_HCODE_CUSTOM_VERSION
37
Stewart Smith4b6a8ce2018-04-26 18:06:24 +100038endif