]> git.ozlabs.org Git - yaboot.git/commit
The CAS (Client-Architecture Support) call tells firmware what capabilities the
authorPaul Nasrat <pauln@truemesh.com>
Fri, 4 Jan 2008 13:00:19 +0000 (13:00 +0000)
committerPaul Nasrat <pauln@truemesh.com>
Fri, 4 Jan 2008 13:00:19 +0000 (13:00 +0000)
commit526b77920b050e1e37e842e8def4a5e7fb04cee6
treeeac314e373a733df4a379a2983d9ad3e996e52f5
parentf843e296a197cc94c0e0f80d49a67dc71c6785a2
The CAS (Client-Architecture Support) call tells firmware what capabilities the
OS has.  These capabilities result in different modes which the device-tree is
configured in, as well as what processor capabilities are presented.  So, if
the capabilities are different from what was previously booted, firmware has to
reboot to reconfigure the device-tree.  The second boot will have the updated
device-tree and we can boot as normal.

When this firmware initiated reboot occurs yaboot will now boot the same kernel
as the previous boot attempt with no action by the user needed.  I have
successfully booted on POWER5 and POWER6 machines using various levels of the
kernel.

Patch from: Mike Wolf <mjw@linux.vnet.ibm.com>
include/prom.h
second/yaboot.c