mkimage: Make table_entry code global
authorPrafulla Wadaskar <prafulla@marvell.com>
Mon, 7 Sep 2009 09:29:08 +0000 (14:59 +0530)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:20 +0000 (09:04 -0500)
commit060c495f9b04f712c2eb0d4e644a7854ae0a7c8f
treeb5191923f0ad1d1ea37675cb6c836e45c775809d
parent6e86982925eab56c2e533f6e2752a7a35e5e93c6
mkimage: Make table_entry code global

- make get_table_entry_id() global
- make get_table_entry_name() global
- move struct table_entry to image.h

Currently this code is used by image.c only.

This patch makes this API global so it can be used by other parts of
code, too.

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Acked-by: Ron Lee <ron.debian.org>
Edit comments and commit message.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/image.c
include/image.h