[U-Boot] [U-Boot, 1/3, v2] arm: semihosting: staticize internal functions

Tom Rini trini at ti.com
Tue Dec 30 03:26:26 CET 2014


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 <drambo at broadcom.com>
> Cc: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Cc: Mark Hambleton <mark.hambleton at arm.com>
> Cc: Tom Rini <trini at ti.com>
> Acked-by: Steve Rae <srae at broadcom.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20141229/4eb7448d/attachment.pgp>


More information about the U-Boot mailing list