# SPDX-License-Identifier: GPL-3.0-or-later

DL_hash="0a967d7baa7deea750da426a6e48113d8c8c7a32de0f5e8b0a610169e8c948b81e59003f5095ded75d904ccc30ac4f386ebf0d5d477336a0a167857c262473da"
DL_url="https://archive.org/download/Topton-H30W-1264NP-4L5G-FW/BK12R415.rar"
DL_url_bkup="https://archive.org/download/Topton-H30W-1264NP-4L5G-FW/BK12R415.rar"
# Original is hosted on sharepoint, needs some work to download directly from there
# So for now we rely on archive.org :(
# DL_url_bkup="https://x8sb8-my.sharepoint.com/personal/support_bkipc_com/_layouts/15/onedrive.aspx?ga=1&id=%2Fpersonal%2Fsupport%5Fbkipc%5Fcom%2FDocuments%2FProduct%2FFCBGA1264%2F1264NP%2D4L%2D5G%2FProduct%20Firmware%2FN150%2FBK12R415%2Erar&parent=%2Fpersonal%2Fsupport%5Fbkipc%5Fcom%2FDocuments%2FProduct%2FFCBGA1264%2F1264NP%2D4L%2D5G%2FProduct%20Firmware%2FN150"
ME_bin_hash="3f4b67947c0902c9041043da063af89857fdd8d80bde1f2e294b64cf549c42a2bf94eb5fba3dab06cdb68e7fe2b4315d2ee88ae2f611e0f9552af9fea7d82be8"

# use a newer me_cleaner that can handle ME16, instead
# of the old me_cleaner present in corebootn.git
XBMKmecleaner="y"

# on this board, we simply set the HAP bit
# but we do not modify ME at all. this is because
# me_cleaner currently has to way to validate
# the result when neutering. simply setting
# the HAP bit has the same result for users

MEcheck="n" # FPTR checks fail on this board, so skip them
MEclean="n" # - however:

# we still use me_cleaner, merely to extract, in
# such circumstances, otherwise lbmk vendor.sh
# would be way more complex because we'd have
# to resort to ifdtool instead. me_cleaner can
# also extract a ME without modifying it

# for Fsp.fd, we don't rely on a download. Instead,
# we copy from coreboot.git. The file is defined
# by CONFIG_FSP_FD_PATH, split to CONFIG_FSP_M_FILE and CONFIG_FSP_S_FILE
# and inserted to CBFS with names CONFIG_FSP_S_CBFS and CONFIG_FSP_M_CBFS
#
FSPFD_hash="69d945ea208912167af70774178366d2a56ba898ecc1864a4feda86fe96bbf55d408b2aaea2e3406c3f40772b603a9178139f5722015fb622e4e6274bd53ad52"
FSPM_bin_hash="619f6f1478554b2fe958da37b1c51c5c9781565424acd48528bd333332b3de2ea728ff21e0048f77f2564c6e242d0382d659415bd16bc8405bd6f9fa7f17d9ac"
FSPS_bin_hash="631cd96a912549fa4e792c1f8aefd26c35f98b1f9543958f24a1f87c92f0d91582b85f0b5d58f2651fe90cb526d5225bae2f4ab494745c3f586f7063abde096e"
