blob: a25bf52ac054b93557b7dc20b5bcf04a1bd95137 [file] [log] [blame]
Bill Hoffa5f93f1d2014-06-26 21:02:48 -05001config BR2_PACKAGE_OPENPOWER_PNOR
2 bool "openpower_pnor"
Matt Ploetz3a184dd2016-08-26 17:21:06 -05003 default y if (BR2_OPENPOWER_PLATFORM)
Klaus Heinrich Kiwid2551242020-07-16 16:59:04 -03004 depends on (!BR2_PACKAGE_OPENPOWER_PNOR_P10)
Nick Bofferdingf390b6f2019-10-08 11:55:42 -05005 select BR2_PACKAGE_HOSTBOOT_P10 if (! (BR2_OPENPOWER_POWER8 || BR2_OPENPOWER_POWER9) )
6 select BR2_PACKAGE_HOSTBOOT if BR2_OPENPOWER_POWER9
Stewart Smith03671c02017-02-17 14:57:57 +11007 select BR2_PACKAGE_HOSTBOOT_P8 if BR2_OPENPOWER_POWER8
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +08008 select BR2_PACKAGE_HOSTBOOT_BINARIES
9 select BR2_PACKAGE_SKIBOOT
10 select BR2_PACKAGE_OPENPOWER_FFS
Nick Bofferdingf390b6f2019-10-08 11:55:42 -050011 select BR2_PACKAGE_OCC_P10 if (! (BR2_OPENPOWER_POWER8 || BR2_OPENPOWER_POWER9 ) )
Nicholas E Bofferding9fc8fe32020-01-10 10:49:15 -060012 select BR2_PACKAGE_OCC if BR2_OPENPOWER_POWER9
Stewart Smith03671c02017-02-17 14:57:57 +110013 select BR2_PACKAGE_OCC_P8 if BR2_OPENPOWER_POWER8
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +080014 select BR2_PACKAGE_CAPP_UCODE
William A. Kennington IIIc3ab3ce2017-03-17 12:58:05 -070015 select BR2_PACKAGE_IMA_CATALOG
Charles P. Hofer0ca27df2017-08-10 14:20:00 -050016 select BR2_PACKAGE_HOST_OPENPOWER_VPNOR
Richard J. Knight3f0e29c2017-10-13 10:39:01 -050017 select BR2_PACKAGE_MACHINE_XML
Nick Bofferdingf390b6f2019-10-08 11:55:42 -050018 select BR2_PACKAGE_HCODE_P10 if (BR2_OPENPOWER_POWER10)
19 select BR2_PACKAGE_HCODE if (BR2_OPENPOWER_POWER9)
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050020 help
21 Utilites for building a targeting binary image
22
Stewart Smithbc37e5d2018-04-26 17:37:59 +100023menu "OpenPOWER PNOR assembly options"
24
Nick Bofferding54deceb2017-06-28 23:07:35 -050025choice
26 prompt "Secure Boot key transition type"
27 default BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
28
29config BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
30 bool "None"
31 help
32 Builds a driver that does not transition Secure Boot keys
33
34config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_DEV
35 bool "Transition existing keys to development keys"
36 help
37 Builds a driver that transitions Secure Boot keys to development keys and
38 powers off the system. Only usable when system security has been
39 disabled.
40
41config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_PROD
42 bool "Transition development keys to production keys"
43 help
44 Builds a driver that transitions Secure Boot development keys to
45 vendor supplied production keys and powers off the system.
46
47endchoice
48
49config BR2_OPENPOWER_SECUREBOOT_SIGN_MODE
50 string "Secureboot signing mode"
Nick Bofferding212d97b2017-09-28 15:50:40 -050051 default "development"
Nick Bofferding54deceb2017-06-28 23:07:35 -050052 help
53 Available options [development | production]
54 Indicates the signing mode when generating the PNOR image. Only
55 applicable when hostboot is compiled with SECUREBOOT compile flag.
56 Default mode is development.
57
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050058config BR2_OPENPOWER_PNOR_XML_LAYOUT_FILENAME
59 string "Name of Openpower pnor xml layout file"
60 help
61 String used to define hw specific make config file
62
63config BR2_OPENPOWER_CONFIG_NAME
64 string "Name of configuration"
65 help
66 String used to define configuration name
67
68config BR2_OPENPOWER_PNOR_FILENAME
69 string "Name of pnor file to be created"
70 help
71 String used to define pnor filename to be created
72
Brian Horton06c2a882015-04-09 13:32:55 -050073config BR2_OPENPOWER_PNOR_UPDATE_FILENAME
74 string "Name of pnor file to be created for updates, if needed"
75 help
76 String used to define pnor filename to be created for updates, if needed
77
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050078config BR2_SKIBOOT_LID_NAME
79 string "Name of skiboot lid name to be used"
80 default "skiboot.lid"
81 help
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050082 String used to define skiboot lid filename
83
84config BR2_TARGET_SKIBOOT_XZ
Joel Stanley0980b482018-12-03 10:40:28 +103085 bool "Compress the skiboot image with XZ"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +080086 select BR2_OPENPOWER_PNOR_XZ_ENABLED
Elizabeth Liner5a8e6fa2016-07-14 15:46:49 -050087 default y
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050088
89config BR2_SKIBOOT_LID_XZ_NAME
90 string "Name of compressed skiboot lid"
91 default "skiboot.lid" if !BR2_TARGET_SKIBOOT_XZ
92 default "skiboot.lid.xz" if BR2_TARGET_SKIBOOT_XZ
93 help
94 String used to define compressed skiboot lid filename
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050095
96config BR2_HOSTBOOT_BINARY_SBE_FILENAME
97 string "Name of sbe hostboot binary"
98 help
99 String used to define name of sbe hostboot binary file
100
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500101config BR2_HOSTBOOT_BINARY_SBEC_FILENAME
102 string "Name of sbec hostboot binary"
103 help
104 String used to define name of sbec hostboot binary file
105
Richard J. Knight3f0e29c2017-10-13 10:39:01 -0500106config BR2_HOSTBOOT_BINARY_IONV_FILENAME
107 string "Name of IONV binary"
108 default "ionv.bin"
109 help
110 String used to define name of ionv binary file
111
Matt Ploetzaf3f64e2015-05-14 14:49:55 -0500112config BR2_HOSTBOOT_BINARY_WINK_FILENAME
113 string "Name of winkle hostboot binary"
114 help
115 String used to define name of winkle hostboot binary file
116
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500117config BR2_WOFDATA_FILENAME
118 string "Name of wofdata original file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500119 default "wof_output"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500120 help
121 String used to define name of wofdata original file
122
123config BR2_WOFDATA_BINARY_FILENAME
124 string "Name of wofdata binary file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500125 default "wofdata.bin.ecc"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500126 help
127 String used to define name of wofdata binary ecc'd file
128
Elizabeth Linerfa069312017-08-07 23:33:01 -0500129config BR2_MEMDDATA_FILENAME
130 string "Name of memd original file"
Elizabeth Liner02c88192017-08-10 23:50:34 -0500131 default "memd_output.dat"
Elizabeth Linerfa069312017-08-07 23:33:01 -0500132 help
133 String used to define name of memd original file
134
135config BR2_MEMDDATA_BINARY_FILENAME
136 string "Name of memd binary file"
137 default "memd_extra_data.bin.ecc"
138 help
139 String used to define the name of the memd binary ecc'd file
140
Matt Ploetz02aa69d2016-09-12 18:17:15 -0500141config BR2_IMA_CATALOG_FILENAME
142 string "Name of IMA catalog binary"
143 help
144 String used to define name of IMA catalog binary file
145
146config BR2_IMA_CATALOG_ECC_FILENAME
147 string "Name of IMA catalog binary"
148 help
149 String used to define name of IMA catalog binary file, ecc protected
150
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500151config BR2_OPENPOWER_TARGETING_BIN_FILENAME
152 string "Name of openpower binary targeting file"
153 help
154 String used to define name of openpower targeting binary file
Brian Silver015b5912014-08-07 15:50:15 -0500155
156config BR2_OPENPOWER_TARGETING_ECC_FILENAME
157 string "Name of openpower binary targeting file"
158 help
159 String used to define name of openpower targeting binary file, ecc protected
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500160
Bill Hoffaa48d7fa2019-06-10 08:59:10 -0500161config BR2_OCMBFW_FILENAME
162 string "Name of the OCMBFW Update original file"
Bill Hoffa128bda42019-07-10 16:34:55 -0500163 default "signed_app_fw.mem"
Bill Hoffaa48d7fa2019-06-10 08:59:10 -0500164 help
165 String used to define name of OCBMFW Update original file (before any processing occurs)
166
167config BR2_OCMBFW_PROCESSED_FILENAME
168 string "Name of OCMBFW Update binary processed file"
169 default "ocmbfw.bin.ecc"
170 help
171 String used to define the name of the OCMBFW update binary file after processing, ecc protected
172
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500173config BR2_OPENPOWER_PNOR_XZ_ENABLED
Jeremy Kerr4c5e6e22016-07-22 13:59:47 +0800174 bool "Enable xz compression in PNOR payloads"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +0800175 default n
Charles P. Hofer0ca27df2017-08-10 14:20:00 -0500176
177config BR2_BUILD_PNOR_SQUASHFS
178 bool "Create a virtual PNOR image along with the standard image"
Joel Stanleyb9859a02018-08-21 10:51:16 +0930179 default n
Stewart Smithbc37e5d2018-04-26 17:37:59 +1000180
Dan Crowell68a03432020-03-23 16:52:38 -0500181config BR2_OPENPOWER_MAKE_LIDS
182 bool "Create a package of content and signature binaries to be used for lid creation"
183 default n
184
Stewart Smithbc37e5d2018-04-26 17:37:59 +1000185endmenu