[openfirmware] [commit] r1943 - cpu/x86/pc/olpc/via

repository service svn at openfirmware.info
Mon Aug 30 20:15:36 CEST 2010


Author: wmb
Date: Mon Aug 30 20:15:35 2010
New Revision: 1943
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1943

Log:
OLPC XO-1.5 - Changed some of the port 80 callouts in romreset.bth
to better delineate major substeps including init-codec.

Modified:
   cpu/x86/pc/olpc/via/romreset.bth

Modified: cpu/x86/pc/olpc/via/romreset.bth
==============================================================================
--- cpu/x86/pc/olpc/via/romreset.bth	Mon Aug 30 20:12:57 2010	(r1942)
+++ cpu/x86/pc/olpc/via/romreset.bth	Mon Aug 30 20:15:35 2010	(r1943)
@@ -112,8 +112,6 @@
 \   acpi-io-base 1 + 8888 config-ww   \ Set ACPI base address
 \   8c 8881 config-wb   \ Enable ACPI regs, 32-bit PM timer, guard RTC against power glitches
 
-   h# 1d port80
-
 \ This is a device ID backdoor to fake out the ID so Ubuntu will install
 \   8879 config-rb  h# 40 # al or  al dx out  \ I don't know what this is, but coreboot does it
 
@@ -214,6 +212,8 @@
 long-offsets off
 [then]
 
+   h# 18 port80
+
    fload ${BP}/cpu/x86/pc/olpc/via/startmtrrinit.fth
 
    fload ${BP}/cpu/x86/pc/olpc/via/ioinit.fth
@@ -228,8 +228,12 @@
    \ Setup a small stack for subroutine calls
    h# 10.0000 # esp mov
 
+   h# 19 port80
+
    init-codec #) call
 
+   h# 1a port80
+
    long-offsets on
    acpi-io-base 4 + port-rw           \ Get APCI Status register
    ax bx mov



More information about the openfirmware mailing list