mips: Implement {in, out}_{le, be}_{16, 32, 64} and {in, out}_8
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Oct 2018 07:24:09 +0000 (09:24 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800)
commit4d9ada54a269c4ded01d60f7c231fd1a3a436a25
tree3641cd2bd6e632e97412225e40c081c14a151a56
parent2448f607dc904a385148ea506df6bd037f8a248b
mips: Implement {in, out}_{le, be}_{16, 32, 64} and {in, out}_8

MIPS is the only architecture currently supported by U-Boot that does
not implement any of the in/out register access functions.

To have a interface that is useable across architectures, add the
functions to the MIPS architecture (implemented using the __raw_write
and __raw_read functions).

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
arch/mips/include/asm/io.h