blob: 94ca4a0ea615b3695a393ece6dbb3d3b0c631568 [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)
Klaus Heinrich Kiwidc4a86f2020-05-11 16:29:14 -03004 depends on BR2_PACKAGE_HAS_PPE42_TOOLCHAIN
Richard J. Knight3f0e29c2017-10-13 10:39:01 -05005 select BR2_CPP
6 help
7 Project to build the hcode firmware codebase
8
Stewart Smith4b6a8ce2018-04-26 18:06:24 +10009if BR2_PACKAGE_HCODE
10
Richard J. Knight3f0e29c2017-10-13 10:39:01 -050011config BR2_HCODE_INCLUDE_IONV
12 bool "Enables packaging of the NVIDIA GPU image into the final hw image"
13 default y
14 help
15 Boolean used to flag whether to include NVIDIA GPU binary
16
Stewart Smith5fb8a332018-04-26 18:11:38 +100017choice
18 prompt "HCODE version"
Stewart Smithd68fc1f2018-05-16 21:11:31 -050019 default BR2_HCODE_LATEST_VERSION
Stewart Smith5fb8a332018-04-26 18:11:38 +100020
Stewart Smith5fb8a332018-04-26 18:11:38 +100021config BR2_HCODE_LATEST_VERSION
22 bool "Use latest HCODE master"
23
24config BR2_HCODE_CUSTOM_VERSION
25 bool "Custom HCODE version"
26
27endchoice
28
29config BR2_HCODE_CUSTOM_VERSION_VALUE
30 string "HCODE version"
31 depends on BR2_HCODE_CUSTOM_VERSION
32
33config BR2_HCODE_VERSION
34 string
hostbootbb7d75f2020-06-23 02:49:41 -050035 default "hw062220a.opmst" if BR2_HCODE_LATEST_VERSION
Stewart Smith5fb8a332018-04-26 18:11:38 +100036 default BR2_HCODE_CUSTOM_VERSION_VALUE \
37 if BR2_HCODE_CUSTOM_VERSION
38
Stewart Smith4b6a8ce2018-04-26 18:06:24 +100039endif