blob: 37c447037983e95e8882a3740e1f2201b8ca6db6 [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"
Nick Bofferding212d97b2017-09-28 15:50:40 -050042 default "development"
Nick Bofferding54deceb2017-06-28 23:07:35 -050043 help
44 Available options [development | production]
45 Indicates the signing mode when generating the PNOR image. Only
46 applicable when hostboot is compiled with SECUREBOOT compile flag.
47 Default mode is development.
48
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050049config BR2_OPENPOWER_PNOR_XML_LAYOUT_FILENAME
50 string "Name of Openpower pnor xml layout file"
51 help
52 String used to define hw specific make config file
53
54config BR2_OPENPOWER_CONFIG_NAME
55 string "Name of configuration"
56 help
57 String used to define configuration name
58
59config BR2_OPENPOWER_PNOR_FILENAME
60 string "Name of pnor file to be created"
61 help
62 String used to define pnor filename to be created
63
Brian Horton06c2a882015-04-09 13:32:55 -050064config BR2_OPENPOWER_PNOR_UPDATE_FILENAME
65 string "Name of pnor file to be created for updates, if needed"
66 help
67 String used to define pnor filename to be created for updates, if needed
68
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050069config BR2_SKIBOOT_LID_NAME
70 string "Name of skiboot lid name to be used"
71 default "skiboot.lid"
72 help
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050073 String used to define skiboot lid filename
74
75config BR2_TARGET_SKIBOOT_XZ
76 boolean "Compress the skiboot image with XZ"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +080077 select BR2_OPENPOWER_PNOR_XZ_ENABLED
Elizabeth Liner5a8e6fa2016-07-14 15:46:49 -050078 default y
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050079
80config BR2_SKIBOOT_LID_XZ_NAME
81 string "Name of compressed skiboot lid"
82 default "skiboot.lid" if !BR2_TARGET_SKIBOOT_XZ
83 default "skiboot.lid.xz" if BR2_TARGET_SKIBOOT_XZ
84 help
85 String used to define compressed skiboot lid filename
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050086
87config BR2_HOSTBOOT_BINARY_SBE_FILENAME
88 string "Name of sbe hostboot binary"
89 help
90 String used to define name of sbe hostboot binary file
91
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050092config BR2_HOSTBOOT_BINARY_SBEC_FILENAME
93 string "Name of sbec hostboot binary"
94 help
95 String used to define name of sbec hostboot binary file
96
Matt Ploetzaf3f64e2015-05-14 14:49:55 -050097config BR2_HOSTBOOT_BINARY_WINK_FILENAME
98 string "Name of winkle hostboot binary"
99 help
100 String used to define name of winkle hostboot binary file
101
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500102config BR2_WOFDATA_FILENAME
103 string "Name of wofdata original file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500104 default "wof_output"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500105 help
106 String used to define name of wofdata original file
107
108config BR2_WOFDATA_BINARY_FILENAME
109 string "Name of wofdata binary file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500110 default "wofdata.bin.ecc"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500111 help
112 String used to define name of wofdata binary ecc'd file
113
Elizabeth Linerfa069312017-08-07 23:33:01 -0500114config BR2_MEMDDATA_FILENAME
115 string "Name of memd original file"
Elizabeth Liner02c88192017-08-10 23:50:34 -0500116 default "memd_output.dat"
Elizabeth Linerfa069312017-08-07 23:33:01 -0500117 help
118 String used to define name of memd original file
119
120config BR2_MEMDDATA_BINARY_FILENAME
121 string "Name of memd binary file"
122 default "memd_extra_data.bin.ecc"
123 help
124 String used to define the name of the memd binary ecc'd file
125
Matt Ploetz02aa69d2016-09-12 18:17:15 -0500126config BR2_IMA_CATALOG_FILENAME
127 string "Name of IMA catalog binary"
128 help
129 String used to define name of IMA catalog binary file
130
131config BR2_IMA_CATALOG_ECC_FILENAME
132 string "Name of IMA catalog binary"
133 help
134 String used to define name of IMA catalog binary file, ecc protected
135
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500136config BR2_OPENPOWER_TARGETING_BIN_FILENAME
137 string "Name of openpower binary targeting file"
138 help
139 String used to define name of openpower targeting binary file
Brian Silver015b5912014-08-07 15:50:15 -0500140
141config BR2_OPENPOWER_TARGETING_ECC_FILENAME
142 string "Name of openpower binary targeting file"
143 help
144 String used to define name of openpower targeting binary file, ecc protected
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500145
146config BR2_OPENPOWER_PNOR_XZ_ENABLED
Jeremy Kerr4c5e6e22016-07-22 13:59:47 +0800147 bool "Enable xz compression in PNOR payloads"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +0800148 default n
Charles P. Hofer0ca27df2017-08-10 14:20:00 -0500149
150config BR2_BUILD_PNOR_SQUASHFS
151 bool "Create a virtual PNOR image along with the standard image"
152 default y