diff options
author | wdenk <wdenk> | 2003-05-20 20:49:01 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-05-20 20:49:01 +0000 |
commit | 82226bf4d2fe87076d7f5d7e2677fdd5d0e35fc2 (patch) | |
tree | 5d03167fc333d401f2eea37dcad640b77516d4d3 /include | |
parent | 7f70e85309c6367138c0ebd14abdd49964b8d50a (diff) | |
download | u-boot-imx-82226bf4d2fe87076d7f5d7e2677fdd5d0e35fc2.zip u-boot-imx-82226bf4d2fe87076d7f5d7e2677fdd5d0e35fc2.tar.gz u-boot-imx-82226bf4d2fe87076d7f5d7e2677fdd5d0e35fc2.tar.bz2 |
* Add support for arbitrary bitmaps for TRAB's VFD command
* Patch by Christian Geißinger, 19 May 2002:
On TRAB: wait until the dummy byte has been completely sent
Diffstat (limited to 'include')
-rw-r--r-- | include/cmd_vfd.h | 8 | ||||
-rw-r--r-- | include/vfd_logo.h | 20 |
2 files changed, 12 insertions, 16 deletions
diff --git a/include/cmd_vfd.h b/include/cmd_vfd.h index 40a9b34..ad6f21a 100644 --- a/include/cmd_vfd.h +++ b/include/cmd_vfd.h @@ -29,10 +29,12 @@ #if (CONFIG_COMMANDS & CFG_CMD_VFD) #define CMD_TBL_VFD MK_CMD_TBL_ENTRY( \ - "vfd", 3, 2, 0, do_vfd, \ + "vfd", 3, 2, 0, do_vfd, \ "vfd - load a bitmap to the VFDs on TRAB\n", \ - "N\n" \ - " - load bitmap N to the VFDs (N is _decimal_ !!!)\n"\ + "#N\n" \ + " - load bitmap no. N to the VFDs (N is _decimal_ !!!)\n" \ + "vfd addr\n" \ + " - load bitmap at address _addr_ to the VFDs\n" \ ), /* Implemented in common/cmd_misc.c */ diff --git a/include/vfd_logo.h b/include/vfd_logo.h index bda20cd..c41867a 100644 --- a/include/vfd_logo.h +++ b/include/vfd_logo.h @@ -6,13 +6,13 @@ */ -#ifndef __VFD_TEST_LOGO_H__ -#define __VFD_TEST_LOGO_H__ +#ifndef __VFD_LOGO_H__ +#define __VFD_LOGO_H__ -#define VFD_TEST_LOGO_WIDTH 112 -#define VFD_TEST_LOGO_HEIGHT 72 -#define VFD_TEST_LOGO_COLORS 0 -#define VFD_TEST_LOGO_OFFSET 0 +#define VFD_LOGO_WIDTH 112 +#define VFD_LOGO_HEIGHT 72 +#define VFD_LOGO_COLORS 0 +#define VFD_LOGO_OFFSET 0 unsigned char vfd_test_logo_bitmap[] = { @@ -522,12 +522,6 @@ unsigned char vfd_test_logo_bitmap[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFD, 0xDD, 0xDD, 0xDD, }; -#define VFD_REMOTE_LOGO_WIDTH 112 -#define VFD_REMOTE_LOGO_HEIGHT 72 -#define VFD_REMOTE_LOGO_COLORS 0 -#define VFD_REMOTE_LOGO_OFFSET 0 - - unsigned char vfd_remote_logo_bitmap[] = { 0x99, 0x99, 0x99, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, @@ -1035,4 +1029,4 @@ unsigned char vfd_remote_logo_bitmap[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xF9, 0x99, 0x99, 0x99, }; -#endif /* __VFD_TEST_LOGO_H__ */ +#endif /* __VFD_LOGO_H__ */ |