This patch fixes the option rom code that was buggy when it switched
authorEdwin Beasant <edwin_beasant@virtensys.com>
Fri, 4 Jun 2010 20:32:12 +0000 (20:32 +0000)
committerStefan Reinauer <stepan@openbios.org>
Fri, 4 Jun 2010 20:32:12 +0000 (20:32 +0000)
commit0c47c4d02d55eb8b7c0f467dbf2971e7a1d870e0
tree9e8387fa1f03b79dabd153981d329afa88344cc5
parent29a6a19715eb3d33f8eef0a963f71250430bb707
This patch fixes the option rom code that was buggy when it switched
segment registers before restoring register values. This was breaking
the Geode VSA, and probably would have hurt other option roms as well.

Signed-off-by: Edwin Beasant <edwin_beasant@virtensys.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Nils Jacobs <njacobs8@hetnet.nl>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5612 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/devices/oprom/x86_asm.S