aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
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 1abc2adc6..f510ee55b 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 */