common: Remove video_setmem()
authorSimon Glass <sjg@chromium.org>
Thu, 1 Aug 2019 15:46:39 +0000 (09:46 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
This function is no-longer defined in U-Boot. Drop the declaration from
common.h

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c
include/common.h

index ed3cf6afbe08f8ba9de2a2c7a2bf371ba7a3279f..7d656fae6ad2bb8f0ebbeb996d9d8fe5801a4464 100644 (file)
@@ -426,13 +426,6 @@ static int reserve_video(void)
        gd->relocaddr = lcd_setmem(gd->relocaddr);
        gd->fb_base = gd->relocaddr;
 #  endif /* CONFIG_FB_ADDR */
-#elif defined(CONFIG_VIDEO) && \
-               (!defined(CONFIG_PPC)) && \
-               !defined(CONFIG_ARM) && !defined(CONFIG_X86) && \
-               !defined(CONFIG_M68K)
-       /* reserve memory for video display (always full pages) */
-       gd->relocaddr = video_setmem(gd->relocaddr);
-       gd->fb_base = gd->relocaddr;
 #endif
 
        return 0;
index e96dc7ebc60f5381a77beefbbbcacdc109cb8938..4d0dd3f1b700fdcea75d28736ac5ad9c95adaddc 100644 (file)
@@ -385,9 +385,6 @@ ulong       bootcount_load (void);
 /* $(CPU)/.../<eth> */
 void mii_init (void);
 
-/* $(CPU)/.../video.c */
-ulong  video_setmem (ulong);
-
 /* arch/$(ARCH)/lib/cache.c */
 void   enable_caches(void);
 void   flush_cache   (unsigned long, unsigned long);