mkimage: Make table_entry code global
authorPrafulla Wadaskar <prafulla@marvell.com>
Mon, 7 Sep 2009 09:29:08 +0000 (14:59 +0530)
committerWolfgang Denk <wd@denx.de>
Thu, 10 Sep 2009 20:58:48 +0000 (22:58 +0200)
commitb029dddc9ae958b1ccf875649f52c6db396a742d
tree687a66a179ca405ce13dedc52162310a45376c94
parentf666dea8ab215c76c3c2a077ad299f90dd1ace7c
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