From 6b73595028647062e2bd637ee5aaa1b7b15629f9 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Thu, 21 Feb 2019 19:04:10 -0800 Subject: [PATCH] also reboot in dxe, just to confirm it's not reaching there --- Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c b/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c index f55dda3..f9e570b 100644 --- a/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c +++ b/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c @@ -44,6 +44,8 @@ InitPeripherals ( for (uint64_t addr = 0x9d400000ull; addr < 0x9d400000ull + (1440 * 2960 * 4); addr += 4) { MmioWrite32(addr, 0); } + // reboot + MmioWrite32(0xC264000, 0); // spin forever while (1) {} }