From a3c1e5d888d0ee317ffc7635694684bb71213c9c Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 8 Oct 2010 00:04:15 +0800 Subject: Replace direct header access with the API routines Copied from U-Boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- common/image.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/image.c') diff --git a/common/image.c b/common/image.c index b0af2efd3e..75346f5079 100644 --- a/common/image.c +++ b/common/image.c @@ -113,22 +113,22 @@ static char *get_table_entry_name(table_entry_t *table, char *msg, int id) return msg; } -const char *image_os(uint8_t os) +const char *image_get_os_name(uint8_t os) { return get_table_entry_name(os_name, "Unknown OS", os); } -const char *image_arch(uint8_t arch) +const char *image_get_arch_name(uint8_t arch) { return get_table_entry_name(arch_name, "Unknown Architecture", arch); } -const char *image_type(uint8_t type) +const char *image_get_type_name(uint8_t type) { return get_table_entry_name(type_name, "Unknown Image", type); } -const char *image_compression(uint8_t comp) +const char *image_get_comp_name(uint8_t comp) { return get_table_entry_name(comp_name, "Unknown Compression", comp); } -- cgit v1.2.3