blob: 1c43735391b5306d0f6025a5a635dd65f522b917 [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
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
Nick Bofferding54deceb2017-06-28 23:07:35 -050017choice
18 prompt "Secure Boot key transition type"
19 default BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
20
21config BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
22 bool "None"
23 help
24 Builds a driver that does not transition Secure Boot keys
25
26config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_DEV
27 bool "Transition existing keys to development keys"
28 help
29 Builds a driver that transitions Secure Boot keys to development keys and
30 powers off the system. Only usable when system security has been
31 disabled.
32
33config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_PROD
34 bool "Transition development keys to production keys"
35 help
36 Builds a driver that transitions Secure Boot development keys to
37 vendor supplied production keys and powers off the system.
38
39endchoice
40
41config BR2_OPENPOWER_SECUREBOOT_SIGN_MODE
42 string "Secureboot signing mode"
Nick Bofferding212d97b2017-09-28 15:50:40 -050043 default "development"
Nick Bofferding54deceb2017-06-28 23:07:35 -050044 help
45 Available options [development | production]
46 Indicates the signing mode when generating the PNOR image. Only
47 applicable when hostboot is compiled with SECUREBOOT compile flag.
48 Default mode is development.
49
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050050config BR2_OPENPOWER_PNOR_XML_LAYOUT_FILENAME
51 string "Name of Openpower pnor xml layout file"
52 help
53 String used to define hw specific make config file
54
55config BR2_OPENPOWER_CONFIG_NAME
56 string "Name of configuration"
57 help
58 String used to define configuration name
59
60config BR2_OPENPOWER_PNOR_FILENAME
61 string "Name of pnor file to be created"
62 help
63 String used to define pnor filename to be created
64
Brian Horton06c2a882015-04-09 13:32:55 -050065config BR2_OPENPOWER_PNOR_UPDATE_FILENAME
66 string "Name of pnor file to be created for updates, if needed"
67 help
68 String used to define pnor filename to be created for updates, if needed
69
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050070config BR2_SKIBOOT_LID_NAME
71 string "Name of skiboot lid name to be used"
72 default "skiboot.lid"
73 help
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050074 String used to define skiboot lid filename
75
76config BR2_TARGET_SKIBOOT_XZ
77 boolean "Compress the skiboot image with XZ"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +080078 select BR2_OPENPOWER_PNOR_XZ_ENABLED
Elizabeth Liner5a8e6fa2016-07-14 15:46:49 -050079 default y
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050080
81config BR2_SKIBOOT_LID_XZ_NAME
82 string "Name of compressed skiboot lid"
83 default "skiboot.lid" if !BR2_TARGET_SKIBOOT_XZ
84 default "skiboot.lid.xz" if BR2_TARGET_SKIBOOT_XZ
85 help
86 String used to define compressed skiboot lid filename
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050087
88config BR2_HOSTBOOT_BINARY_SBE_FILENAME
89 string "Name of sbe hostboot binary"
90 help
91 String used to define name of sbe hostboot binary file
92
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050093config BR2_HOSTBOOT_BINARY_SBEC_FILENAME
94 string "Name of sbec hostboot binary"
95 help
96 String used to define name of sbec hostboot binary file
97
Richard J. Knight3f0e29c2017-10-13 10:39:01 -050098config BR2_HOSTBOOT_BINARY_IONV_FILENAME
99 string "Name of IONV binary"
100 default "ionv.bin"
101 help
102 String used to define name of ionv binary file
103
Matt Ploetzaf3f64e2015-05-14 14:49:55 -0500104config BR2_HOSTBOOT_BINARY_WINK_FILENAME
105 string "Name of winkle hostboot binary"
106 help
107 String used to define name of winkle hostboot binary file
108
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500109config BR2_WOFDATA_FILENAME
110 string "Name of wofdata original file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500111 default "wof_output"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500112 help
113 String used to define name of wofdata original file
114
115config BR2_WOFDATA_BINARY_FILENAME
116 string "Name of wofdata binary file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500117 default "wofdata.bin.ecc"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500118 help
119 String used to define name of wofdata binary ecc'd file
120
Elizabeth Linerfa069312017-08-07 23:33:01 -0500121config BR2_MEMDDATA_FILENAME
122 string "Name of memd original file"
Elizabeth Liner02c88192017-08-10 23:50:34 -0500123 default "memd_output.dat"
Elizabeth Linerfa069312017-08-07 23:33:01 -0500124 help
125 String used to define name of memd original file
126
127config BR2_MEMDDATA_BINARY_FILENAME
128 string "Name of memd binary file"
129 default "memd_extra_data.bin.ecc"
130 help
131 String used to define the name of the memd binary ecc'd file
132
Matt Ploetz02aa69d2016-09-12 18:17:15 -0500133config BR2_IMA_CATALOG_FILENAME
134 string "Name of IMA catalog binary"
135 help
136 String used to define name of IMA catalog binary file
137
138config BR2_IMA_CATALOG_ECC_FILENAME
139 string "Name of IMA catalog binary"
140 help
141 String used to define name of IMA catalog binary file, ecc protected
142
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500143config BR2_OPENPOWER_TARGETING_BIN_FILENAME
144 string "Name of openpower binary targeting file"
145 help
146 String used to define name of openpower targeting binary file
Brian Silver015b5912014-08-07 15:50:15 -0500147
148config BR2_OPENPOWER_TARGETING_ECC_FILENAME
149 string "Name of openpower binary targeting file"
150 help
151 String used to define name of openpower targeting binary file, ecc protected
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500152
153config BR2_OPENPOWER_PNOR_XZ_ENABLED
Jeremy Kerr4c5e6e22016-07-22 13:59:47 +0800154 bool "Enable xz compression in PNOR payloads"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +0800155 default n
Charles P. Hofer0ca27df2017-08-10 14:20:00 -0500156
157config BR2_BUILD_PNOR_SQUASHFS
158 bool "Create a virtual PNOR image along with the standard image"
159 default y