1. 24 9月, 2010 1 次提交
    • D
      x86, olpc: Rework BIOS signature check · 3e3c4860
      Daniel Drake 提交于
      The XO-1.5 laptop is not currently detected as an OLPC machine because
      it fails this XO-1-centric check.
      
      Now that we have OLPC OFW support in the kernel, a more sensible
      check is to see if we found OFW during boot and check the architecture
      property.
      
      Also remove a now-meaningless codepath, as we're always going to have
      OFW support with OLPC.
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      LKML-Reference: <20100923162846.D8D409D401B@zog.reactivated.net>
      Cc: Andres Salomon <dilinger@queued.net>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      3e3c4860
  2. 31 7月, 2010 1 次提交
  3. 19 6月, 2010 1 次提交
    • A
      x86, olpc: Add support for calling into OpenFirmware · fd699c76
      Andres Salomon 提交于
      Add support for saving OFW's cif, and later calling into it to run OFW
      commands.  OFW remains resident in memory, living within virtual range
      0xff800000 - 0xffc00000.  A single page directory entry points to the
      pgdir that OFW actually uses, so rather than saving the entire page
      table, we grab and install that one entry permanently in the kernel's
      page table.
      
      This is currently only used by the OLPC XO.  Note that this particular
      calling convention breaks PAE and PAT, and so cannot be used on newer
      x86 hardware.
      Signed-off-by: NAndres Salomon <dilinger@queued.net>
      LKML-Reference: <20100618174653.7755a39a@dev.queued.net>
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      fd699c76