Author: wmb Date: Tue Jul 6 10:23:04 2010 New Revision: 1862 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1862
Log: OLPC XO-1.5 - CPU selftest - check the CPU voltage requirements to catch the possibility of a CPU the requires a different voltage than the one we provide.
Modified: cpu/x86/pc/olpc/via/devices.fth
Modified: cpu/x86/pc/olpc/via/devices.fth ============================================================================== --- cpu/x86/pc/olpc/via/devices.fth Sat Jul 3 23:45:15 2010 (r1861) +++ cpu/x86/pc/olpc/via/devices.fth Tue Jul 6 10:23:04 2010 (r1862) @@ -144,6 +144,21 @@ fload ${BP}/cpu/x86/pc/cpunode.fth fload ${BP}/cpu/x86/k6cputest.fth \ Burnin test for K6 CPU
+\ Amend the CPU selftest method to check for Via processors that +\ require a different voltage than the one we provide. +dev /cpu +warning @ warning off +: selftest ( -- error? ) + h# 198 msr@ drop ( msr.low ) + h# ff and 6 <> if ( ) + ." Wrong CPU Voltage" cr + true exit + then + selftest +; +warning ! +device-end + 0 [if] fload ${BP}/ofw/console/bailout.fth stand-init: Keyboard overrides
openfirmware@openfirmware.info