From 7637c422c8a6e2a750f4d7d7d40b4c921359d42b Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Sun, 13 Dec 2020 21:19:20 +0000
Subject: [PATCH 1/9] lenovo/x230: change pci_mmio_size from 1024 to 2048
 (fixes Windows BSOD error)

I don't personally care about Windows, but I'm told that when setting high
VRAM allowance such as 224MiB, Windows will crash and show the Blue Screen of
Death. The suggested fix by hell__ in coreboot is to change the pci_mmio_size
variable in devicetree.cb, so that's what I'm going to do.
---
 src/mainboard/lenovo/x230/devicetree.cb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/lenovo/x230/devicetree.cb b/src/mainboard/lenovo/x230/devicetree.cb
index 27d42b68be..b4a0f9d4dd 100644
--- a/src/mainboard/lenovo/x230/devicetree.cb
+++ b/src/mainboard/lenovo/x230/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 0x21fa inherit
-- 
2.25.1

