summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8188/bootblock.c
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2022-11-16 17:02:32 -0800
committerFelix Held <felix-coreboot@felixheld.de>2022-11-18 15:47:05 +0000
commitf6307ca9c210a2073ad59816b89ca37e06e3cf5a (patch)
tree7d119c51377921693bfc58a501d1740f1df7511a /src/soc/mediatek/mt8188/bootblock.c
parentb5af064f5493b6959d74dfbd948a4666d2a5cdc2 (diff)
soc/qualcomm/sc7280: Skip PCIe ops for eMMC SKUs
On Herobrine, we will determine if we have an NVMe device based on SKU id. Basically, if bit 0 is 2 (or Z), then we know that we have an NVMe device and thus will need to go through PCIe initialization. Otherwise, we know that we are booting an eMMC device. BUG=b:254281839 BRANCH=None TEST=build firmware image and boot and make sure we can boot up Tested on villager, which does not have NVMe and made sure that it boots still. Check cbmem dump to make sure that device configuration entry is still low since it's not initializing PCIe devices: 40:device configuration 730,203 (1,295) Change-Id: I1fa0ad392ba6320fdbab54b3b5dc83ac28cd20ba Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69690 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8188/bootblock.c')
0 files changed, 0 insertions, 0 deletions