blob: 8dd745117679b7899f6653681e9131def2220f44 [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
37 default "1b068da5e7532c03b43daea4dc268e7de9cd650d" if BR2_HCODE_LATEST_VERSION
Stewart Smith062ec2d2018-04-29 20:24:20 -050038 default "a3a060cd02c7ecab9abc660afc7f403d6aa54f7e" 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