[openfirmware] [commit] r2249 - cpu/arm

repository service svn at openfirmware.info
Mon Jun 6 03:46:58 CEST 2011


Author: wmb
Date: Mon Jun  6 03:46:57 2011
New Revision: 2249
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2249

Log:
OLPC XO-1.75 - Now that the vector table is not in the available property - thus preventing memory test from zapping it - the code that looks for the available memory size must accept a memory node starting at 0x1000 instead of at 0.

Modified:
   cpu/arm/linux.fth

Modified: cpu/arm/linux.fth
==============================================================================
--- cpu/arm/linux.fth	Mon Jun  6 03:45:12 2011	(r2248)
+++ cpu/arm/linux.fth	Mon Jun  6 03:46:57 2011	(r2249)
@@ -18,7 +18,7 @@
    " available" rot get-package-property abort" No memory node available property"  ( $ )
    \ Find the memory piece that starts at 0
    begin  dup  8 >=  while           ( $ )
-      decode-int  0=  if             ( $ )   \ Found the one we want
+      decode-int  h# 1000 u<=  if    ( $ )   \ Found the one we want
          decode-int                  ( $ limit )
          nip nip  exit
       then                           ( $ )



More information about the openfirmware mailing list