From: wdenk Date: Sat, 9 Oct 2004 23:28:40 +0000 (+0000) Subject: Patch by Hinko Kocevar, 21 Aug 2004: X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f325e18bebb92b911f7f0db6316fdcf017308866;p=u-boot.git Patch by Hinko Kocevar, 21 Aug 2004: Add calc_fbsize() function used with VIDEOLFB_TAG on TRAB --- diff --git a/CHANGELOG b/CHANGELOG index 9fefb67819..4c22fadbd8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes since U-Boot 1.1.1: ====================================================================== +* Patch by Hinko Kocevar, 21 Aug 2004: + Add calc_fbsize() function used with VIDEOLFB_TAG on TRAB + * Clean up tools/bmp_logo.c to not add trailing white space * Patch by Hinko Kocevar, 21 Aug 2004: diff --git a/board/trab/vfd.c b/board/trab/vfd.c index 1abc2adc65..f510ee55b0 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 */