summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-10-08 00:04:15 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-10-08 00:04:28 +0800
commita3c1e5d888d0ee317ffc7635694684bb71213c9c (patch)
tree24226d1678b57d7a58947fe8899b41facf630878 /common
parent2fbdb02b11ded2619a0ad023910f8160ead5c48a (diff)
downloadbarebox-a3c1e5d888d0ee317ffc7635694684bb71213c9c.tar.gz
barebox-a3c1e5d888d0ee317ffc7635694684bb71213c9c.tar.xz
Replace direct header access with the API routines
Copied from U-Boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common')
-rw-r--r--common/image.c8
1 files changed, 4 insertions, 4 deletions
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);
}