blob: 9acb58b52e6fc33fb7a9b885df2327fdb8f45ff7 [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
Nick Bofferding40f80402019-09-10 18:07:04 -05006 select BR2_PACKAGE_HOSTBOOT_BINARIES
Richard J. Knight3f0e29c2017-10-13 10:39:01 -05007 help
8 Project to build the hcode firmware codebase
9
Stewart Smith4b6a8ce2018-04-26 18:06:24 +100010if BR2_PACKAGE_HCODE
11
Richard J. Knight3f0e29c2017-10-13 10:39:01 -050012config BR2_HCODE_INCLUDE_IONV
13 bool "Enables packaging of the NVIDIA GPU image into the final hw image"
14 default y
15 help
16 Boolean used to flag whether to include NVIDIA GPU binary
17
Stewart Smith5fb8a332018-04-26 18:11:38 +100018choice
19 prompt "HCODE version"
Stewart Smithd68fc1f2018-05-16 21:11:31 -050020 default BR2_HCODE_LATEST_VERSION
Stewart Smith5fb8a332018-04-26 18:11:38 +100021
Stewart Smith5fb8a332018-04-26 18:11:38 +100022config BR2_HCODE_LATEST_VERSION
23 bool "Use latest HCODE master"
24
25config BR2_HCODE_CUSTOM_VERSION
26 bool "Custom HCODE version"
27
28endchoice
29
30config BR2_HCODE_CUSTOM_VERSION_VALUE
31 string "HCODE version"
32 depends on BR2_HCODE_CUSTOM_VERSION
33
34config BR2_HCODE_VERSION
35 string
hostbooteeeff222022-12-05 01:43:56 -060036 default "hw120222a.opmst" if BR2_HCODE_LATEST_VERSION
Stewart Smith5fb8a332018-04-26 18:11:38 +100037 default BR2_HCODE_CUSTOM_VERSION_VALUE \
38 if BR2_HCODE_CUSTOM_VERSION
39
Stewart Smith4b6a8ce2018-04-26 18:06:24 +100040endif