aboutsummaryrefslogtreecommitdiff
path: root/libstb
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-05-05 15:47:48 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-05-08 14:29:23 +1000
commit7657fe3362c3bc7fff196ad3d47c5d2d49342b0b (patch)
tree191893b708d011cada540a461d7f19f9377f17a8 /libstb
parent70bc370883330c8b1076555c126647a3cdf88706 (diff)
downloadskiboot-7657fe3362c3bc7fff196ad3d47c5d2d49342b0b.zip
skiboot-7657fe3362c3bc7fff196ad3d47c5d2d49342b0b.tar.gz
skiboot-7657fe3362c3bc7fff196ad3d47c5d2d49342b0b.tar.bz2
phb4: Fix slot presence detect
phb4_get_presence_state() needs to set *val to indicate the presence of something in the slot. Currently it doesn't set *val at all. The existing logic is correct, so this patch just sets val in the right places. This has the nice side effect of improving boot times since we no longer waste time tring to train links that don't have anything present. Signed-off-by: Michael Neuling <mikey@neuling.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb')
0 files changed, 0 insertions, 0 deletions