Update p10 Rainier config and OCC version handling
- Update p10 Rainier config to remove unneeded options, clarify
existing settings
- Update occ-p10 package to modernize version handling
Signed-off-by: Nick Bofferding <bofferdn@us.ibm.com>
diff --git a/openpower/package/occ-p10/Config.in b/openpower/package/occ-p10/Config.in
index 6a2e284..363bce2 100644
--- a/openpower/package/occ-p10/Config.in
+++ b/openpower/package/occ-p10/Config.in
@@ -1,5 +1,5 @@
config BR2_PACKAGE_OCC_P10
- bool "OCC for P10"
+ bool "OCC (POWER10)"
default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER10)
select BR2_CPP
help
@@ -8,9 +8,43 @@
if BR2_PACKAGE_OCC_P10
config BR2_OCC_P10_BIN_FILENAME
- string "Name of OCC P10 image file"
- default "occ.bin"
- help
- String used to define name of the OCC binary image file
+ string "Name of P10 OCC image file"
+ default "occ.bin"
+ help
+ String used to define name of the P10 OCC binary image file
+
+config BR2_OCC_P10_GPU_BIN_BUILD
+ bool "Enables Compilation of P10 GPU Binary Image"
+ default n
+ select BR2_PACKAGE_HOSTBOOT_BINARIES
+ help
+ Boolean used to flag whether to compile P10 OCC GPU binary
+
+config BR2_OCC_P10_GPU_GPE_BIN_FILENAME
+ string "Name of P10 OCC GPU GPE Binary file"
+ help
+ String used to define name of the P10 OCC GPUE GPE binary image file
+
+choice
+ prompt "P10 OCC version"
+ default BR2_OCC_P10_LATEST_VERSION
+
+config BR2_OCC_P10_LATEST_VERSION
+ bool "Use latest P10 OCC master"
+
+config BR2_OCC_P10_CUSTOM_VERSION
+ bool "Custom P10 OCC version"
+
+endchoice
+
+config BR2_OCC_P10_CUSTOM_VERSION_VALUE
+ string "P10 OCC version"
+ depends on BR2_OCC_P10_CUSTOM_VERSION
+
+config BR2_OCC_P10_VERSION
+ string
+ default "36b56e72c2dd6c2a2fb21667c55a594f86f6132e" if BR2_OCC_P10_LATEST_VERSION
+ default BR2_OCC_P10_CUSTOM_VERSION_VALUE \
+ if BR2_OCC_P10_CUSTOM_VERSION
endif