From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 21 Mar 2017 14:07:14 -0600 Subject: [U-Boot] [PATCH 20/22] x86: pci: Allow conditionally run VGA rom in S3 In-Reply-To: <1489674408-17498-21-git-send-email-bmeng.cn@gmail.com> References: <1489674408-17498-1-git-send-email-bmeng.cn@gmail.com> <1489674408-17498-21-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 16 March 2017 at 08:26, Bin Meng wrote: > Introduce a new CONFIG_S3_VGA_ROM_RUN option so that U-Boot can > bypass executing VGA roms in S3. > > Signed-off-by: Bin Meng > --- > > arch/x86/Kconfig | 12 ++++++++++++ > drivers/pci/pci_rom.c | 14 ++++++++++++++ > 2 files changed, 26 insertions(+) Can this be handled at run-time, based on whether we have already run the ROM? At present, at least on ivybridge (non-FSP), the ROM execution happens when the device comes up. So do we actually need to run the ROM in S3 Or can we do it later by re-probing the driver? Regards Simon