aboutsummaryrefslogtreecommitdiff
path: root/external/mambo
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.vnet.ibm.com>2017-06-02 09:52:51 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-06 20:49:05 +1000
commit2163407ccceabf859959f3b641f6a169d5229807 (patch)
tree855632a14ff05a6385b4dbb4e062dda463da1534 /external/mambo
parentc5fa0d718e9cda8999dcb83088118a7ea61814c5 (diff)
downloadskiboot-2163407ccceabf859959f3b641f6a169d5229807.zip
skiboot-2163407ccceabf859959f3b641f6a169d5229807.tar.gz
skiboot-2163407ccceabf859959f3b641f6a169d5229807.tar.bz2
npu2: Fix npu2_{read,write}_4b()
When writing or reading 4-byte values, we need to use the upper half of the 64-bit SCOM register. Fix npu2_{read,write}_4b() and their callers to use uint32_t, and appropriately shift the value being written or returned. Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com> Acked-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/mambo')
0 files changed, 0 insertions, 0 deletions