]> git.ozlabs.org Git - petitboot/commit
utils: Add boot hook to set stdout property on DT machines
authorJeremy Kerr <jk@ozlabs.org>
Wed, 15 Jan 2014 07:59:27 +0000 (15:59 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 15 Jan 2014 07:59:27 +0000 (15:59 +0800)
commitaf805399e80ae70a9fc7af9b47d76577be44a683
treebdf4b70c6c4b0da19440162c1b1cb384ef2c0383
parent49f515d354d8d40e2053fe5806fea12b06bcb115
utils: Add boot hook to set stdout property on DT machines

On machines that use device-tree boot, they'll often set an early
console, defined by the linux,stdout property in the /chosen/ device
tree node.

This hook adds a facility for petitboot to set this, based on an NVRAM
setting.
utils/hooks/20-set-stdout [new file with mode: 0755]