From: Tom Rini Date: Mon, 29 Dec 2014 21:26:26 -0500 Subject: [U-Boot] [U-Boot, 1/3, v2] arm: semihosting: staticize internal functions In-Reply-To: <1418637943-23477-1-git-send-email-linus.walleij@linaro.org> References: <1418637943-23477-1-git-send-email-linus.walleij@linaro.org> Message-ID: <20141230022626.GN10826@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Dec 15, 2014 at 11:05:43AM +0100, Linus Walleij wrote: > The semihosting code exposes internal file handle handling > functions to read(), open(), close() and get the length of > a certain file handle. > > However the code using it is only interested in either > reading and entire named file into memory or getting the > file length of a file referred by name. No file handles > are used. > > Thus make the file handle code internal to this file by > removing these functions from the semihosting header file > and staticize them. > > This gives us some freedom to rearrange the semihosting > code without affecting the external interface. > > Cc: Darwin Rambo > Cc: AKASHI Takahiro > Cc: Mark Hambleton > Cc: Tom Rini > Acked-by: Steve Rae > Signed-off-by: Linus Walleij Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: