blob: 644d281bf75592a63f58b3a52cea306d3c37d264 [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)
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +08004 select BR2_PACKAGE_HOSTBOOT
5 select BR2_PACKAGE_HOSTBOOT_BINARIES
6 select BR2_PACKAGE_SKIBOOT
7 select BR2_PACKAGE_OPENPOWER_FFS
8 select BR2_PACKAGE_OCC
9 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
Stewart Smithcd986e42017-05-15 12:14:59 +100012 select BR2_PACKAGE_MACHINE_XML
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050013 help
14 Utilites for building a targeting binary image
15
Nick Bofferding54deceb2017-06-28 23:07:35 -050016choice
17 prompt "Secure Boot key transition type"
18 default BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
19
20config BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
21 bool "None"
22 help
23 Builds a driver that does not transition Secure Boot keys
24
25config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_DEV
26 bool "Transition existing keys to development keys"
27 help
28 Builds a driver that transitions Secure Boot keys to development keys and
29 powers off the system. Only usable when system security has been
30 disabled.
31
32config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_PROD
33 bool "Transition development keys to production keys"
34 help
35 Builds a driver that transitions Secure Boot development keys to
36 vendor supplied production keys and powers off the system.
37
38endchoice
39
40config BR2_OPENPOWER_SECUREBOOT_SIGN_MODE
41 string "Secureboot signing mode"
42 help
43 Available options [development | production]
44 Indicates the signing mode when generating the PNOR image. Only
45 applicable when hostboot is compiled with SECUREBOOT compile flag.
46 Default mode is development.
47
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050048config BR2_OPENPOWER_PNOR_XML_LAYOUT_FILENAME
49 string "Name of Openpower pnor xml layout file"
50 help
51 String used to define hw specific make config file
52
53config BR2_OPENPOWER_CONFIG_NAME
54 string "Name of configuration"
55 help
56 String used to define configuration name
57
58config BR2_OPENPOWER_PNOR_FILENAME
59 string "Name of pnor file to be created"
60 help
61 String used to define pnor filename to be created
62
Brian Horton06c2a882015-04-09 13:32:55 -050063config BR2_OPENPOWER_PNOR_UPDATE_FILENAME
64 string "Name of pnor file to be created for updates, if needed"
65 help
66 String used to define pnor filename to be created for updates, if needed
67
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050068config BR2_SKIBOOT_LID_NAME
69 string "Name of skiboot lid name to be used"
70 default "skiboot.lid"
71 help
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050072 String used to define skiboot lid filename
73
74config BR2_TARGET_SKIBOOT_XZ
75 boolean "Compress the skiboot image with XZ"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +080076 select BR2_OPENPOWER_PNOR_XZ_ENABLED
Elizabeth Liner5a8e6fa2016-07-14 15:46:49 -050077 default y
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050078
79config BR2_SKIBOOT_LID_XZ_NAME
80 string "Name of compressed skiboot lid"
81 default "skiboot.lid" if !BR2_TARGET_SKIBOOT_XZ
82 default "skiboot.lid.xz" if BR2_TARGET_SKIBOOT_XZ
83 help
84 String used to define compressed skiboot lid filename
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050085
86config BR2_HOSTBOOT_BINARY_SBE_FILENAME
87 string "Name of sbe hostboot binary"
88 help
89 String used to define name of sbe hostboot binary file
90
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050091config BR2_HOSTBOOT_BINARY_SBEC_FILENAME
92 string "Name of sbec hostboot binary"
93 help
94 String used to define name of sbec hostboot binary file
95
Matt Ploetzaf3f64e2015-05-14 14:49:55 -050096config BR2_HOSTBOOT_BINARY_WINK_FILENAME
97 string "Name of winkle hostboot binary"
98 help
99 String used to define name of winkle hostboot binary file
100
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500101config BR2_WOFDATA_FILENAME
102 string "Name of wofdata original file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500103 default "wof_output"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500104 help
105 String used to define name of wofdata original file
106
107config BR2_WOFDATA_BINARY_FILENAME
108 string "Name of wofdata binary file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500109 default "wofdata.bin.ecc"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500110 help
111 String used to define name of wofdata binary ecc'd file
112
Elizabeth Linerfa069312017-08-07 23:33:01 -0500113config BR2_MEMDDATA_FILENAME
114 string "Name of memd original file"
Elizabeth Liner02c88192017-08-10 23:50:34 -0500115 default "memd_output.dat"
Elizabeth Linerfa069312017-08-07 23:33:01 -0500116 help
117 String used to define name of memd original file
118
119config BR2_MEMDDATA_BINARY_FILENAME
120 string "Name of memd binary file"
121 default "memd_extra_data.bin.ecc"
122 help
123 String used to define the name of the memd binary ecc'd file
124
Matt Ploetz02aa69d2016-09-12 18:17:15 -0500125config BR2_IMA_CATALOG_FILENAME
126 string "Name of IMA catalog binary"
127 help
128 String used to define name of IMA catalog binary file
129
130config BR2_IMA_CATALOG_ECC_FILENAME
131 string "Name of IMA catalog binary"
132 help
133 String used to define name of IMA catalog binary file, ecc protected
134
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500135config BR2_OPENPOWER_TARGETING_BIN_FILENAME
136 string "Name of openpower binary targeting file"
137 help
138 String used to define name of openpower targeting binary file
Brian Silver015b5912014-08-07 15:50:15 -0500139
140config BR2_OPENPOWER_TARGETING_ECC_FILENAME
141 string "Name of openpower binary targeting file"
142 help
143 String used to define name of openpower targeting binary file, ecc protected
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500144
145config BR2_OPENPOWER_PNOR_XZ_ENABLED
Jeremy Kerr4c5e6e22016-07-22 13:59:47 +0800146 bool "Enable xz compression in PNOR payloads"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +0800147 default n
Charles P. Hofer0ca27df2017-08-10 14:20:00 -0500148
149config BR2_BUILD_PNOR_SQUASHFS
150 bool "Create a virtual PNOR image along with the standard image"
151 default y