blob: 1f7157845d3d332ee848a60f7d50771263e964a6 [file] [log] [blame]
wdenk059ae172003-04-20 16:52:09 +00001/* (C) Copyright 2002
2 * Detlev Zundel, DENX Software Engineering, dzu@denx.de.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
17 * MA 02111-1307 USA
18 */
19
20/*
21 * Bitmap display support
22 */
23#ifndef _CMD_BMP_H
24#define _CMD_BMP_H
25
26#include <common.h>
27#include <command.h>
28
29
30#if (CONFIG_COMMANDS & CFG_CMD_BMP)
31
32#define CMD_TBL_BMP MK_CMD_TBL_ENTRY( \
33 "bmp", 3, 3, 1, do_bmp, \
34 "bmp - manipulate BMP image data\n", \
35 "\nbmp info <imageAddr> - display image info\n" \
36 "bmp display <imageAddr> - display image\n" \
37),
38int do_bmp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
39
40#else
41#define CMD_TBL_BMP
42#endif
43
44#endif /* _CMD_BMP_H */