blob: 64231ceb21ecea50b1b9d930cf3bf9e778e74c89 [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)
Nick Bofferdingf390b6f2019-10-08 11:55:42 -05004 select BR2_PACKAGE_HOSTBOOT_P10 if (! (BR2_OPENPOWER_POWER8 || BR2_OPENPOWER_POWER9) )
5 select BR2_PACKAGE_HOSTBOOT if BR2_OPENPOWER_POWER9
Stewart Smith03671c02017-02-17 14:57:57 +11006 select BR2_PACKAGE_HOSTBOOT_P8 if BR2_OPENPOWER_POWER8
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +08007 select BR2_PACKAGE_HOSTBOOT_BINARIES
8 select BR2_PACKAGE_SKIBOOT
9 select BR2_PACKAGE_OPENPOWER_FFS
Nick Bofferdingf390b6f2019-10-08 11:55:42 -050010 select BR2_PACKAGE_OCC_P10 if (! (BR2_OPENPOWER_POWER8 || BR2_OPENPOWER_POWER9 ) )
Nicholas E Bofferding9fc8fe32020-01-10 10:49:15 -060011 select BR2_PACKAGE_OCC if BR2_OPENPOWER_POWER9
Stewart Smith03671c02017-02-17 14:57:57 +110012 select BR2_PACKAGE_OCC_P8 if BR2_OPENPOWER_POWER8
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +080013 select BR2_PACKAGE_CAPP_UCODE
William A. Kennington IIIc3ab3ce2017-03-17 12:58:05 -070014 select BR2_PACKAGE_IMA_CATALOG
Charles P. Hofer0ca27df2017-08-10 14:20:00 -050015 select BR2_PACKAGE_HOST_OPENPOWER_VPNOR
Richard J. Knight3f0e29c2017-10-13 10:39:01 -050016 select BR2_PACKAGE_MACHINE_XML
Nick Bofferdingf390b6f2019-10-08 11:55:42 -050017 select BR2_PACKAGE_HCODE_P10 if (BR2_OPENPOWER_POWER10)
18 select BR2_PACKAGE_HCODE if (BR2_OPENPOWER_POWER9)
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050019 help
20 Utilites for building a targeting binary image
21
Stewart Smithbc37e5d2018-04-26 17:37:59 +100022menu "OpenPOWER PNOR assembly options"
23
Nick Bofferding54deceb2017-06-28 23:07:35 -050024choice
25 prompt "Secure Boot key transition type"
26 default BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
27
28config BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
29 bool "None"
30 help
31 Builds a driver that does not transition Secure Boot keys
32
33config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_DEV
34 bool "Transition existing keys to development keys"
35 help
36 Builds a driver that transitions Secure Boot keys to development keys and
37 powers off the system. Only usable when system security has been
38 disabled.
39
40config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_PROD
41 bool "Transition development keys to production keys"
42 help
43 Builds a driver that transitions Secure Boot development keys to
44 vendor supplied production keys and powers off the system.
45
46endchoice
47
48config BR2_OPENPOWER_SECUREBOOT_SIGN_MODE
49 string "Secureboot signing mode"
Nick Bofferding212d97b2017-09-28 15:50:40 -050050 default "development"
Nick Bofferding54deceb2017-06-28 23:07:35 -050051 help
52 Available options [development | production]
53 Indicates the signing mode when generating the PNOR image. Only
54 applicable when hostboot is compiled with SECUREBOOT compile flag.
55 Default mode is development.
56
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050057config BR2_OPENPOWER_PNOR_XML_LAYOUT_FILENAME
58 string "Name of Openpower pnor xml layout file"
59 help
60 String used to define hw specific make config file
61
62config BR2_OPENPOWER_CONFIG_NAME
63 string "Name of configuration"
64 help
65 String used to define configuration name
66
67config BR2_OPENPOWER_PNOR_FILENAME
68 string "Name of pnor file to be created"
69 help
70 String used to define pnor filename to be created
71
Brian Horton06c2a882015-04-09 13:32:55 -050072config BR2_OPENPOWER_PNOR_UPDATE_FILENAME
73 string "Name of pnor file to be created for updates, if needed"
74 help
75 String used to define pnor filename to be created for updates, if needed
76
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050077config BR2_SKIBOOT_LID_NAME
78 string "Name of skiboot lid name to be used"
79 default "skiboot.lid"
80 help
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050081 String used to define skiboot lid filename
82
83config BR2_TARGET_SKIBOOT_XZ
Joel Stanley0980b482018-12-03 10:40:28 +103084 bool "Compress the skiboot image with XZ"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +080085 select BR2_OPENPOWER_PNOR_XZ_ENABLED
Elizabeth Liner5a8e6fa2016-07-14 15:46:49 -050086 default y
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050087
88config BR2_SKIBOOT_LID_XZ_NAME
89 string "Name of compressed skiboot lid"
90 default "skiboot.lid" if !BR2_TARGET_SKIBOOT_XZ
91 default "skiboot.lid.xz" if BR2_TARGET_SKIBOOT_XZ
92 help
93 String used to define compressed skiboot lid filename
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050094
95config BR2_HOSTBOOT_BINARY_SBE_FILENAME
96 string "Name of sbe hostboot binary"
97 help
98 String used to define name of sbe hostboot binary file
99
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500100config BR2_HOSTBOOT_BINARY_SBEC_FILENAME
101 string "Name of sbec hostboot binary"
102 help
103 String used to define name of sbec hostboot binary file
104
Richard J. Knight3f0e29c2017-10-13 10:39:01 -0500105config BR2_HOSTBOOT_BINARY_IONV_FILENAME
106 string "Name of IONV binary"
107 default "ionv.bin"
108 help
109 String used to define name of ionv binary file
110
Matt Ploetzaf3f64e2015-05-14 14:49:55 -0500111config BR2_HOSTBOOT_BINARY_WINK_FILENAME
112 string "Name of winkle hostboot binary"
113 help
114 String used to define name of winkle hostboot binary file
115
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500116config BR2_WOFDATA_FILENAME
117 string "Name of wofdata original file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500118 default "wof_output"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500119 help
120 String used to define name of wofdata original file
121
122config BR2_WOFDATA_BINARY_FILENAME
123 string "Name of wofdata binary file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500124 default "wofdata.bin.ecc"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500125 help
126 String used to define name of wofdata binary ecc'd file
127
Elizabeth Linerfa069312017-08-07 23:33:01 -0500128config BR2_MEMDDATA_FILENAME
129 string "Name of memd original file"
Elizabeth Liner02c88192017-08-10 23:50:34 -0500130 default "memd_output.dat"
Elizabeth Linerfa069312017-08-07 23:33:01 -0500131 help
132 String used to define name of memd original file
133
134config BR2_MEMDDATA_BINARY_FILENAME
135 string "Name of memd binary file"
136 default "memd_extra_data.bin.ecc"
137 help
138 String used to define the name of the memd binary ecc'd file
139
Matt Ploetz02aa69d2016-09-12 18:17:15 -0500140config BR2_IMA_CATALOG_FILENAME
141 string "Name of IMA catalog binary"
142 help
143 String used to define name of IMA catalog binary file
144
145config BR2_IMA_CATALOG_ECC_FILENAME
146 string "Name of IMA catalog binary"
147 help
148 String used to define name of IMA catalog binary file, ecc protected
149
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500150config BR2_OPENPOWER_TARGETING_BIN_FILENAME
151 string "Name of openpower binary targeting file"
152 help
153 String used to define name of openpower targeting binary file
Brian Silver015b5912014-08-07 15:50:15 -0500154
155config BR2_OPENPOWER_TARGETING_ECC_FILENAME
156 string "Name of openpower binary targeting file"
157 help
158 String used to define name of openpower targeting binary file, ecc protected
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500159
Bill Hoffaa48d7fa2019-06-10 08:59:10 -0500160config BR2_OCMBFW_FILENAME
161 string "Name of the OCMBFW Update original file"
Bill Hoffa128bda42019-07-10 16:34:55 -0500162 default "signed_app_fw.mem"
Bill Hoffaa48d7fa2019-06-10 08:59:10 -0500163 help
164 String used to define name of OCBMFW Update original file (before any processing occurs)
165
166config BR2_OCMBFW_PROCESSED_FILENAME
167 string "Name of OCMBFW Update binary processed file"
168 default "ocmbfw.bin.ecc"
169 help
170 String used to define the name of the OCMBFW update binary file after processing, ecc protected
171
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500172config BR2_OPENPOWER_PNOR_XZ_ENABLED
Jeremy Kerr4c5e6e22016-07-22 13:59:47 +0800173 bool "Enable xz compression in PNOR payloads"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +0800174 default n
Charles P. Hofer0ca27df2017-08-10 14:20:00 -0500175
176config BR2_BUILD_PNOR_SQUASHFS
177 bool "Create a virtual PNOR image along with the standard image"
Joel Stanleyb9859a02018-08-21 10:51:16 +0930178 default n
Stewart Smithbc37e5d2018-04-26 17:37:59 +1000179
Dan Crowell68a03432020-03-23 16:52:38 -0500180config BR2_OPENPOWER_MAKE_LIDS
181 bool "Create a package of content and signature binaries to be used for lid creation"
182 default n
183
Stewart Smithbc37e5d2018-04-26 17:37:59 +1000184endmenu