summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-09 23:28:40 +0000
committerwdenk <wdenk>2004-10-09 23:28:40 +0000
commitf325e18bebb92b911f7f0db6316fdcf017308866 (patch)
tree9a892289767fcfb4f503ed61b8f589618265f8a4 /board
parent8655b6f8603f12099e534a10f7840630b3e93026 (diff)
downloadu-boot-imx-f325e18bebb92b911f7f0db6316fdcf017308866.zip
u-boot-imx-f325e18bebb92b911f7f0db6316fdcf017308866.tar.gz
u-boot-imx-f325e18bebb92b911f7f0db6316fdcf017308866.tar.bz2
Patch by Hinko Kocevar, 21 Aug 2004:
Add calc_fbsize() function used with VIDEOLFB_TAG on TRAB
Diffstat (limited to 'board')
-rw-r--r--board/trab/vfd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/trab/vfd.c b/board/trab/vfd.c
index 1abc2ad..f510ee5 100644
--- a/board/trab/vfd.c
+++ b/board/trab/vfd.c
@@ -559,4 +559,13 @@ ulong vfd_setmem (ulong addr)
return (size);
}
+/*
+ * Calculate fb size for VIDEOLFB_ATAG. Size returned contains fb,
+ * descriptors and palette areas.
+ */
+ulong calc_fbsize (void)
+{
+ return FRAME_BUF_SIZE;
+}
+
#endif /* CONFIG_VFD */