cmd_bmp.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* (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. * Bitmap display support
  21. */
  22. #ifndef _CMD_BMP_H
  23. #define _CMD_BMP_H
  24. #include <common.h>
  25. #include <command.h>
  26. #if (CONFIG_COMMANDS & CFG_CMD_BMP)
  27. #define CMD_TBL_BMP MK_CMD_TBL_ENTRY( \
  28. "bmp", 3, 3, 1, do_bmp, \
  29. "bmp - manipulate BMP image data\n", \
  30. "info <imageAddr> - display image info\n" \
  31. "bmp display <imageAddr> - display image\n" \
  32. ),
  33. int do_bmp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
  34. #else
  35. #define CMD_TBL_BMP
  36. #endif
  37. #endif /* _CMD_BMP_H */