sandbox: Add string and 16-bit I/O functions
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 17:35:54 +0000 (11:35 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commite54094f2f9e812ae7b0d2ab2353ca11c0502849a
treefc8857496a4403204d8cdd6f65c400bd11fcecf9
parent709e98b7b2461c2535d4ac2bb0311c3b3f53dbbb
sandbox: Add string and 16-bit I/O functions

Add outsw() and insw() functions for sandbox, as these are needed by the IDE
code. The functions will not do anything useful if called, but allow the
code to be compiled.

Also add out16() and in16(), required by systemace.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/io.h