image: Add functions to obtain short names
authorSimon Glass <sjg@chromium.org>
Tue, 23 Feb 2016 05:55:50 +0000 (22:55 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2016 23:18:28 +0000 (19:18 -0400)
commitcef2e51489567260857984c3e95d98eb03c97fe9
tree7fe3c1d3f1d436477a0bb5cf1c5781fb7ca87c12
parent3837ce65bd57991ebd7f8235db4040596d3125a4
image: Add functions to obtain short names

Sometimes it is useful to obtain the short name for an Operating System,
architecture or compression mechanism. Provide functions for this.

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