From e5519ba7265938701aed8603fd0315d518c64509 Mon Sep 17 00:00:00 2001 From: Jianjun Wang Date: Wed, 17 Apr 2024 14:37:05 +0800 Subject: mb/google/rauru: Add mainboard_needs_pcie_init Add a trivial mainboard_needs_pcie_init implementation that always return true. For now, the storage types of rauru SKUs are still unknown. TEST=Build pass, show pcie init pass log: mtk_pcie_domain_enable: PCIe link up success (1) BUG=b:317009620 Signed-off-by: Jianjun Wang Change-Id: I6b4f08e15f62da18aa37226075894f2827a9e7ba Reviewed-on: https://review.coreboot.org/c/coreboot/+/84697 Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/rauru/mainboard.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mainboard/google/rauru/mainboard.c b/src/mainboard/google/rauru/mainboard.c index f15dd312f0..a2d725a79f 100644 --- a/src/mainboard/google/rauru/mainboard.c +++ b/src/mainboard/google/rauru/mainboard.c @@ -2,6 +2,7 @@ #include #include +#include #include #include "gpio.h" @@ -13,6 +14,11 @@ static void power_on_fpmcu(void) gpio_output(GPIO_FP_RST_1V8_S3_L, 1); } +bool mainboard_needs_pcie_init(void) +{ + return true; +} + static void mainboard_init(struct device *dev) { setup_usb_host(); -- cgit v1.2.3