blob: 6311b50dbf395e85c88e1035430c517f6f93f5df [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 Bofferding40f80402019-09-10 18:07:04 -05004 select BR2_PACKAGE_HOSTBOOT
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +08005 select BR2_PACKAGE_HOSTBOOT_BINARIES
6 select BR2_PACKAGE_SKIBOOT
7 select BR2_PACKAGE_OPENPOWER_FFS
Nick Bofferding40f80402019-09-10 18:07:04 -05008 select BR2_PACKAGE_OCC
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +08009 select BR2_PACKAGE_CAPP_UCODE
William A. Kennington IIIc3ab3ce2017-03-17 12:58:05 -070010 select BR2_PACKAGE_IMA_CATALOG
Charles P. Hofer0ca27df2017-08-10 14:20:00 -050011 select BR2_PACKAGE_HOST_OPENPOWER_VPNOR
Richard J. Knight3f0e29c2017-10-13 10:39:01 -050012 select BR2_PACKAGE_MACHINE_XML
13 select BR2_PACKAGE_HCODE if BR2_OPENPOWER_POWER9
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050014 help
15 Utilites for building a targeting binary image
16
Stewart Smithbc37e5d2018-04-26 17:37:59 +100017menu "OpenPOWER PNOR assembly options"
18
Nick Bofferding54deceb2017-06-28 23:07:35 -050019choice
20 prompt "Secure Boot key transition type"
21 default BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
22
23config BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
24 bool "None"
25 help
26 Builds a driver that does not transition Secure Boot keys
27
28config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_DEV
29 bool "Transition existing keys to development keys"
30 help
31 Builds a driver that transitions Secure Boot keys to development keys and
32 powers off the system. Only usable when system security has been
33 disabled.
34
35config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_PROD
36 bool "Transition development keys to production keys"
37 help
38 Builds a driver that transitions Secure Boot development keys to
39 vendor supplied production keys and powers off the system.
40
41endchoice
42
43config BR2_OPENPOWER_SECUREBOOT_SIGN_MODE
44 string "Secureboot signing mode"
Nick Bofferding212d97b2017-09-28 15:50:40 -050045 default "development"
Nick Bofferding54deceb2017-06-28 23:07:35 -050046 help
47 Available options [development | production]
48 Indicates the signing mode when generating the PNOR image. Only
49 applicable when hostboot is compiled with SECUREBOOT compile flag.
50 Default mode is development.
51
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050052config BR2_OPENPOWER_PNOR_XML_LAYOUT_FILENAME
53 string "Name of Openpower pnor xml layout file"
54 help
55 String used to define hw specific make config file
56
57config BR2_OPENPOWER_CONFIG_NAME
58 string "Name of configuration"
59 help
60 String used to define configuration name
61
62config BR2_OPENPOWER_PNOR_FILENAME
63 string "Name of pnor file to be created"
64 help
65 String used to define pnor filename to be created
66
Brian Horton06c2a882015-04-09 13:32:55 -050067config BR2_OPENPOWER_PNOR_UPDATE_FILENAME
68 string "Name of pnor file to be created for updates, if needed"
69 help
70 String used to define pnor filename to be created for updates, if needed
71
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050072config BR2_SKIBOOT_LID_NAME
73 string "Name of skiboot lid name to be used"
74 default "skiboot.lid"
75 help
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050076 String used to define skiboot lid filename
77
78config BR2_TARGET_SKIBOOT_XZ
Joel Stanley0980b482018-12-03 10:40:28 +103079 bool "Compress the skiboot image with XZ"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +080080 select BR2_OPENPOWER_PNOR_XZ_ENABLED
Elizabeth Liner5a8e6fa2016-07-14 15:46:49 -050081 default y
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050082
83config BR2_SKIBOOT_LID_XZ_NAME
84 string "Name of compressed skiboot lid"
85 default "skiboot.lid" if !BR2_TARGET_SKIBOOT_XZ
86 default "skiboot.lid.xz" if BR2_TARGET_SKIBOOT_XZ
87 help
88 String used to define compressed skiboot lid filename
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050089
90config BR2_HOSTBOOT_BINARY_SBE_FILENAME
91 string "Name of sbe hostboot binary"
92 help
93 String used to define name of sbe hostboot binary file
94
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050095config BR2_HOSTBOOT_BINARY_SBEC_FILENAME
96 string "Name of sbec hostboot binary"
97 help
98 String used to define name of sbec hostboot binary file
99
Richard J. Knight3f0e29c2017-10-13 10:39:01 -0500100config BR2_HOSTBOOT_BINARY_IONV_FILENAME
101 string "Name of IONV binary"
102 default "ionv.bin"
103 help
104 String used to define name of ionv binary file
105
Matt Ploetzaf3f64e2015-05-14 14:49:55 -0500106config BR2_HOSTBOOT_BINARY_WINK_FILENAME
107 string "Name of winkle hostboot binary"
108 help
109 String used to define name of winkle hostboot binary file
110
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500111config BR2_WOFDATA_FILENAME
112 string "Name of wofdata original file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500113 default "wof_output"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500114 help
115 String used to define name of wofdata original file
116
117config BR2_WOFDATA_BINARY_FILENAME
118 string "Name of wofdata binary file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500119 default "wofdata.bin.ecc"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500120 help
121 String used to define name of wofdata binary ecc'd file
122
Elizabeth Linerfa069312017-08-07 23:33:01 -0500123config BR2_MEMDDATA_FILENAME
124 string "Name of memd original file"
Elizabeth Liner02c88192017-08-10 23:50:34 -0500125 default "memd_output.dat"
Elizabeth Linerfa069312017-08-07 23:33:01 -0500126 help
127 String used to define name of memd original file
128
129config BR2_MEMDDATA_BINARY_FILENAME
130 string "Name of memd binary file"
131 default "memd_extra_data.bin.ecc"
132 help
133 String used to define the name of the memd binary ecc'd file
134
Matt Ploetz02aa69d2016-09-12 18:17:15 -0500135config BR2_IMA_CATALOG_FILENAME
136 string "Name of IMA catalog binary"
137 help
138 String used to define name of IMA catalog binary file
139
140config BR2_IMA_CATALOG_ECC_FILENAME
141 string "Name of IMA catalog binary"
142 help
143 String used to define name of IMA catalog binary file, ecc protected
144
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500145config BR2_OPENPOWER_TARGETING_BIN_FILENAME
146 string "Name of openpower binary targeting file"
147 help
148 String used to define name of openpower targeting binary file
Brian Silver015b5912014-08-07 15:50:15 -0500149
150config BR2_OPENPOWER_TARGETING_ECC_FILENAME
151 string "Name of openpower binary targeting file"
152 help
153 String used to define name of openpower targeting binary file, ecc protected
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500154
Bill Hoffaa48d7fa2019-06-10 08:59:10 -0500155config BR2_OCMBFW_FILENAME
156 string "Name of the OCMBFW Update original file"
Bill Hoffa128bda42019-07-10 16:34:55 -0500157 default "signed_app_fw.mem"
Bill Hoffaa48d7fa2019-06-10 08:59:10 -0500158 help
159 String used to define name of OCBMFW Update original file (before any processing occurs)
160
161config BR2_OCMBFW_PROCESSED_FILENAME
162 string "Name of OCMBFW Update binary processed file"
163 default "ocmbfw.bin.ecc"
164 help
165 String used to define the name of the OCMBFW update binary file after processing, ecc protected
166
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500167config BR2_OPENPOWER_PNOR_XZ_ENABLED
Jeremy Kerr4c5e6e22016-07-22 13:59:47 +0800168 bool "Enable xz compression in PNOR payloads"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +0800169 default n
Charles P. Hofer0ca27df2017-08-10 14:20:00 -0500170
171config BR2_BUILD_PNOR_SQUASHFS
172 bool "Create a virtual PNOR image along with the standard image"
Joel Stanleyb9859a02018-08-21 10:51:16 +0930173 default n
Stewart Smithbc37e5d2018-04-26 17:37:59 +1000174
175endmenu