From: Bin Meng <bmeng.cn@gmail.com>
Date: Thu, 12 Oct 2017 12:07:58 +0000 (-0700)
Subject: x86: Turn off running VGA ROM during S3 resume
X-Git-Tag: v2025.01-rc5-pxa1908~5500^2~5
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B?a=commitdiff_plain;h=3322a8e1a3dd9964b249673f5922a5093bfaf201;p=u-boot.git

x86: Turn off running VGA ROM during S3 resume

This is only needed when graphics console is used. For kernel with
native graphics driver, this can be turned off to speed up.

Change this option's default to n in the Kconfig.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
---

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 38a618753a..c869ae2548 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -677,7 +677,6 @@ config HAVE_ACPI_RESUME
 config S3_VGA_ROM_RUN
 	bool "Re-run VGA option ROMs on S3 resume"
 	depends on HAVE_ACPI_RESUME
-	default y if HAVE_ACPI_RESUME
 	help
 	  Execute VGA option ROMs in U-Boot when resuming from S3. Normally
 	  this is needed when graphics console is being used in the kernel.