From 86d01671394984e91f9decd1e6b4ed8934fecea9 Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@retroboot.org>
Date: Sun, 27 Dec 2020 22:44:15 +0000
Subject: [PATCH 3/9] lenovo/x220: change pci_mmio_size from 1024 to 2048

Fixes BSOD in Windows 10 when using Tianocore with high VRAM allocated
in coreboot (gfx_uma_size CMOS setting).
---
 src/mainboard/lenovo/x220/devicetree.cb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/lenovo/x220/devicetree.cb b/src/mainboard/lenovo/x220/devicetree.cb
index 609036d61c..ae36f2a5c0 100644
--- a/src/mainboard/lenovo/x220/devicetree.cb
+++ b/src/mainboard/lenovo/x220/devicetree.cb
@@ -31,7 +31,7 @@ chip northbridge/intel/sandybridge
 		end
 	end
 
-	register "pci_mmio_size" = "1024"
+	register "pci_mmio_size" = "2048"
 
 	device domain 0 on
 		subsystemid 0x17aa 0x21db inherit
-- 
2.25.1

