diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-12-15 15:41:34 +0100 |
---|---|---|
committer | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-12-20 17:56:48 +0100 |
commit | 82d381b5cffbeac520b33e2c5f907fd018226696 (patch) | |
tree | 639d4a100d4e60169010a389202e760ae7c03f4f /.gitignore | |
parent | 8dc3a137ec8eb9739e1bb9574029c77ecfdee64e (diff) | |
download | SLOF-82d381b5cffbeac520b33e2c5f907fd018226696.zip SLOF-82d381b5cffbeac520b33e2c5f907fd018226696.tar.gz SLOF-82d381b5cffbeac520b33e2c5f907fd018226696.tar.bz2 |
Two minor improvements for the device tree node code
The "open-node" command always tried to execute the "open" method of the node
that should be opened and used CATCH to determine whether the method is
available or not (and assumed success if it is not available). That works fine
as long as the "open" method does not ABORT due to any reason - in that case
the "open" should be considered as failure instead. So the code is now using
"find-method" instead to determine whether the "open" method is available or
not.
Second fix is about "my-unit". According to IEEE1275, this value should be
initialized to the firt component of the "reg" property in case it has not
been specified by other means.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions