UPSTREAM: ichspi.c: Add support for region 9 and beyond in Meteor Lake Since Meteor Lake, configuring region access for FREG9 and higher is necessary. This configuration is determined using BIOS_BM registers: BIOS_BM_RAP (Offset 0x118): BIOS Master Read Access Permissions. Each bit [15:0] corresponds to a region [15:0]. A set bit grants BIOS master read access. BIOS_BM_WAP (Offset 0x11c): BIOS Master Write Access Permissions. Each bit [15:0] corresponds to a region [15:0]. A set bit grants BIOS master write/erase access. Move CHIPSET_METEOR_LAKE to the bottom of the ich_chipset list to ensure that all the newer chipsets in the future will use BIOS_BM check by default. BUG=b:319773700, b:304439294 BUG=b:319336080 TEST=On MTL, use flashrom -VV to see correct FREG9 access TEST=On ADL, use flashrom -VV to see not break anything TEST=On APL, use flashrom -VV to see not break anything (cherry picked from commit 85b977151b8f5717ad00b7b7204521a823ac1ad2) Original-Change-Id: I1e06e7b3d470423a6014e623826d9234fdebfbf9 Original-Signed-off-by: Hsuan Ting Chen <[email protected]> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/81357 Original-Reviewed-by: Jamie Ryu <[email protected]> Original-Reviewed-by: Nikolai Artemiev <[email protected]> Original-Reviewed-by: Anastasia Klimchuk <[email protected]> Original-Tested-by: build bot (Jenkins) <[email protected]> Change-Id: Ie0bfe44a6f3868cb4ff38304fff8375d14ae5598 Signed-off-by: Hsuan Ting Chen <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/5574928 Reviewed-by: Sean Paul <[email protected]> Reviewed-by: Jian-Jia Su <[email protected]>