]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lcd: Remove legacy CONFIG_FB_ADDR code
authorTom Rini <trini@konsulko.com>
Mon, 20 Jun 2022 12:07:43 +0000 (08:07 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jul 2022 21:04:40 +0000 (17:04 -0400)
No platforms set both CONFIG_LCD and CONFIG_FB_ADDR at this time, drop
this legacy code.

Signed-off-by: Tom Rini <trini@konsulko.com>
README
common/board_f.c
include/configs/at91sam9rlek.h
include/configs/trats.h
include/configs/trats2.h

diff --git a/README b/README
index f3d4a9c2b22feb1f9a03114fd257d7873ee5de8d..6bdfca66d65fbe80f23c5f0ad9d96c4f6cd198cc 100644 (file)
--- a/README
+++ b/README
@@ -1509,20 +1509,6 @@ The following options need to be configured:
                overwriting the architecture dependent default
                settings.
 
-- Frame Buffer Address:
-               CONFIG_FB_ADDR
-
-               Define CONFIG_FB_ADDR if you want to use specific
-               address for frame buffer.  This is typically the case
-               when using a graphics controller has separate video
-               memory.  U-Boot will then place the frame buffer at
-               the given address instead of dynamically reserving it
-               in system RAM by calling lcd_setmem(), which grabs
-               the memory for the frame buffer depending on the
-               configured panel size.
-
-               Please see board_init_f function.
-
 - Automatic software updates via TFTP server
                CONFIG_UPDATE_TFTP
                CONFIG_UPDATE_TFTP_CNT_MAX
index a5666ca77c242a2dab41ea49d0552964a15a87ee..5c86faeb217bedbceeaec993e0b5d0d0b4d456e5 100644 (file)
@@ -400,13 +400,9 @@ static int reserve_video(void)
              ((unsigned long)gd->relocaddr - addr) >> 10, addr);
        gd->relocaddr = addr;
 #elif defined(CONFIG_LCD)
-#  ifdef CONFIG_FB_ADDR
-       gd->fb_base = CONFIG_FB_ADDR;
-#  else
        /* reserve memory for LCD display (always full pages) */
        gd->relocaddr = lcd_setmem(gd->relocaddr);
        gd->fb_base = gd->relocaddr;
-#  endif /* CONFIG_FB_ADDR */
 #endif
 
        return 0;
index e3350282bcf609e8392c8aaac730c58ddb45b855..e418edddfbe5bfacfc9de31e114e7bc6da2bd46a 100644 (file)
@@ -22,8 +22,6 @@
 
 /* LCD */
 #define LCD_BPP                                LCD_COLOR8
-/* Let board_init_f handle the framebuffer allocation */
-#undef CONFIG_FB_ADDR
 
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE          ATMEL_BASE_CS1
index bca239ae817e7bbf4fed1f7da6cbe160bfd2ef8b..53f5a6996bd77a6c6a365e913806c58d43b78edc 100644 (file)
 #define LCD_BPP                        LCD_COLOR16
 
 /* LCD */
-#define CONFIG_FB_ADDR         0x52504000
 #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE  ((500 * 160 * 4) + 54)
 
 #endif /* __CONFIG_H */
index 20bd116c9e3d0d5a5e9c69c0b46f27894452305b..b7449dab8bdb4d5364ccd50841378b38653d3a07 100644 (file)
 #define LCD_BPP                 LCD_COLOR16
 
 /* LCD */
-#define CONFIG_FB_ADDR         0x52504000
 #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE ((500 * 160 * 4) + 54)
 
 #endif /* __CONFIG_H */