]> git.dujemihanovic.xyz Git - u-boot.git/commit
Allow iotrace byte access to use an address of any size
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 17:35:53 +0000 (11:35 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commit709e98b7b2461c2535d4ac2bb0311c3b3f53dbbb
tree3708b07a6f480829c0ba9a2c6a8fe9a2c478efc4
parenta219639d4216e59a0c55f0b7d2c8a21f9cb0bb06
Allow iotrace byte access to use an address of any size

If an address is used with readb() and writeb() which is smaller than the
expected size (e.g. 32-bit value on a machine with 64-bit addresses), a
warning results. Fix this by adding a cast.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/iotrace.h