]> git.ozlabs.org Git - yaboot.git/commit - second/prom.c
prom setprop primatives
authorPaul Nasrat <pnasrat@redhat.com>
Thu, 19 Apr 2007 09:11:19 +0000 (10:11 +0100)
committerPaul Nasrat <pauln@enki.eridu>
Thu, 19 Apr 2007 09:11:19 +0000 (10:11 +0100)
commit5d4289bddaef010cc14bcbeecfd13d5068b50a8e
tree4541840fc37663cac52c415a62af4579cb774c00
parent117cc2a76cc76227a5dd99d3435afb6737a41879
prom setprop primatives

This patch creates the prom_set_options() and prom_setprop() functions.
These are precise mirrors of their read-only brothers,
prom_get_options() and prom_getprop(), implemented as defined in the
Open Firmware 1275 spec.

The prom_set_options() function will be used to zero out the boot-once
label unconditionally after reading it.

Signed-off-by: Dustin Kirkland <dustin.kirkland@us.ibm.com>
include/prom.h
second/prom.c