mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: ifwitool: Correct pack order and header order
Update pack and header order and mark the entries as mandatory and recommended w.r.t. ordering (mandatory = essential for booting, recommended = okay to change, but this config is tested and known to work). BUG=None BRANCH=None TEST=None Change-Id: Ia089bdaa0703de830bb9553130caf91a3665d2c4 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://review.coreboot.org/15144 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/352027 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
834561e7d6
commit
ab2bc08371
1 changed files with 17 additions and 13 deletions
|
@ -242,47 +242,51 @@ enum bpdt_entry_type {
|
|||
* thus sub-partitions would have increasing offsets as we loop over pack_order.
|
||||
*/
|
||||
const enum bpdt_entry_type bpdt_header_order[MAX_SUBPARTS] = {
|
||||
/* Order of the following entries is mandatory. */
|
||||
CSE_IDLM_TYPE,
|
||||
IFP_OVERRIDE_TYPE,
|
||||
S_BPDT_TYPE,
|
||||
CSE_RBE_TYPE,
|
||||
UFS_PHY_TYPE,
|
||||
UFS_GPP_TYPE,
|
||||
CSE_BUP_TYPE,
|
||||
/* Order of the following entries is recommended. */
|
||||
UEP_TYPE,
|
||||
NVM_CONFIG_TYPE,
|
||||
UFS_RATE_B_TYPE,
|
||||
IBB_TYPE,
|
||||
SMIP_TYPE,
|
||||
PMC_TYPE,
|
||||
CSE_BUP_TYPE,
|
||||
UCODE_TYPE,
|
||||
IBB_TYPE,
|
||||
DEBUG_TOKENS_TYPE,
|
||||
UFS_RATE_B_TYPE,
|
||||
ISH_TYPE,
|
||||
CSE_MAIN_TYPE,
|
||||
OBB_TYPE,
|
||||
IUNIT_TYPE,
|
||||
CSE_MAIN_TYPE,
|
||||
ISH_TYPE,
|
||||
OBB_TYPE,
|
||||
};
|
||||
|
||||
const enum bpdt_entry_type bpdt_pack_order[MAX_SUBPARTS] = {
|
||||
CSE_IDLM_TYPE,
|
||||
UFS_PHY_TYPE,
|
||||
/* Order of the following entries is mandatory. */
|
||||
UFS_GPP_TYPE,
|
||||
UFS_PHY_TYPE,
|
||||
IFP_OVERRIDE_TYPE,
|
||||
UEP_TYPE,
|
||||
IBB_TYPE,
|
||||
NVM_CONFIG_TYPE,
|
||||
UFS_RATE_B_TYPE,
|
||||
/* Order of the following entries is recommended. */
|
||||
IBB_TYPE,
|
||||
SMIP_TYPE,
|
||||
CSE_RBE_TYPE,
|
||||
PMC_TYPE,
|
||||
CSE_BUP_TYPE,
|
||||
UCODE_TYPE,
|
||||
CSE_IDLM_TYPE,
|
||||
DEBUG_TOKENS_TYPE,
|
||||
UFS_RATE_B_TYPE,
|
||||
S_BPDT_TYPE,
|
||||
ISH_TYPE,
|
||||
CSE_MAIN_TYPE,
|
||||
OBB_TYPE,
|
||||
IUNIT_TYPE,
|
||||
CSE_MAIN_TYPE,
|
||||
ISH_TYPE,
|
||||
OBB_TYPE,
|
||||
};
|
||||
|
||||
/* Utility functions. */
|
||||
|
|
Loading…
Add table
Reference in a new issue