Attention is currently required from: Hung-Te Lin, Yidi Lin, Yu-Ping Wu.
Hello Yidi Lin,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/84933?usp=email
to review the following change.
Change subject: mb/google/rauru: Pass reset gpio parameter to BL31 ......................................................................
mb/google/rauru: Pass reset gpio parameter to BL31
Pass the reset gpio parameter to BL31 to support SoC reset.
BUG=b:334753311 TEST=run reboot command
Change-Id: I4ddecfb8f36a8f721b57ca16e6a861f933b058b4 Signed-off-by: Yidi Lin yidilin@chromium.org --- M src/mainboard/google/rauru/mainboard.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/84933/1
diff --git a/src/mainboard/google/rauru/mainboard.c b/src/mainboard/google/rauru/mainboard.c index a2d725a..c2d24e1 100644 --- a/src/mainboard/google/rauru/mainboard.c +++ b/src/mainboard/google/rauru/mainboard.c @@ -2,6 +2,7 @@
#include <device/device.h> #include <gpio.h> +#include <soc/bl31.h> #include <soc/pcie.h> #include <soc/usb.h>
@@ -23,6 +24,9 @@ { setup_usb_host(); power_on_fpmcu(); + + if (CONFIG(ARM64_USE_ARM_TRUSTED_FIRMWARE)) + register_reset_to_bl31(GPIO_AP_EC_WARM_RST_REQ.id, true); }
static void mainboard_enable(struct device *dev)