Support building p10 PNOR images
Implements initial experimental support for building P10 PNOR images using
GCC8 (host and cross compiler) as the toolchain
- Introduced rainier configuration files
- Added p10 specific packages for sbe, hcode, hostboot, occ
- Pointed at starting commits for various pacakges to build op-build for p10
- Created various patches to fully compile all packages, to be removed
when package owners have time to address them
- Generally updated package configurations to support p10 and p10 package
variants
Signed-off-by: Nick Bofferding <bofferdn@us.ibm.com>
diff --git a/openpower/package/hcode-p10/Config.in b/openpower/package/hcode-p10/Config.in
new file mode 100644
index 0000000..7e5fbeb
--- /dev/null
+++ b/openpower/package/hcode-p10/Config.in
@@ -0,0 +1,38 @@
+config BR2_PACKAGE_HCODE_P10
+ bool "hcode-p10"
+ default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER10)
+ select BR2_CPP
+ help
+ Project to build the HCODE package for P10
+
+if BR2_PACKAGE_HCODE_P10
+
+config BR2_HCODE_INCLUDE_IONV
+ bool "Enables packaging of the NVIDIA GPU image into the final hw image"
+ default y
+ help
+ Boolean used to flag whether to include NVIDIA GPU binary
+
+choice
+ prompt "HCODE version"
+ default BR2_HCODE_P10_LATEST_VERSION
+
+config BR2_HCODE_P10_LATEST_VERSION
+ bool "Use latest HCODE P10 version"
+
+config BR2_HCODE_P10_CUSTOM_VERSION
+ bool "Custom HCODE P10 version"
+
+endchoice
+
+config BR2_HCODE_P10_CUSTOM_VERSION_VALUE
+ string "HCODE P10 version"
+ depends on BR2_HCODE_P10_CUSTOM_VERSION
+
+config BR2_HCODE_P10_VERSION
+ string
+ default "hw092119a.opmst" if BR2_HCODE_P10_LATEST_VERSION
+ default BR2_HCODE_P10_CUSTOM_VERSION_VALUE \
+ if BR2_HCODE_P10_CUSTOM_VERSION
+
+endif