summaryrefslogtreecommitdiff
path: root/board/trab/vfd.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-21 20:26:20 +0000
committerwdenk <wdenk>2003-05-21 20:26:20 +0000
commitc8c3a8be2dd09e51d7dc33f431e3a638ac5688f2 (patch)
tree4c88c168e175f41678574f3d72131d9222f722ff /board/trab/vfd.c
parent82226bf4d2fe87076d7f5d7e2677fdd5d0e35fc2 (diff)
downloadu-boot-imx-c8c3a8be2dd09e51d7dc33f431e3a638ac5688f2.zip
u-boot-imx-c8c3a8be2dd09e51d7dc33f431e3a638ac5688f2.tar.gz
u-boot-imx-c8c3a8be2dd09e51d7dc33f431e3a638ac5688f2.tar.bz2
Add support for arbitrary bitmaps for TRAB's VFD command;
allow to pass boot bitmap addresses in environment variables; allow for zero boot delay
Diffstat (limited to 'board/trab/vfd.c')
-rw-r--r--board/trab/vfd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/board/trab/vfd.c b/board/trab/vfd.c
index d0dcedc..e00294f 100644
--- a/board/trab/vfd.c
+++ b/board/trab/vfd.c
@@ -346,9 +346,10 @@ void transfer_pic(int display, unsigned char *adr, int height, int width)
}
}
}
- display++;
- if (display > 3)
- display = 0;
+ if (display > 0)
+ display--;
+ else
+ display = 3;
}
}