[U-Boot] [PATCH 04/39] common: Remove video_setmem()

Simon Glass sjg at chromium.org
Sun Jul 28 14:03:21 UTC 2019


This function is no-longer defined in U-Boot. Drop the declaration from
common.h

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 common/board_f.c | 7 -------
 include/common.h | 3 ---
 2 files changed, 10 deletions(-)

diff --git a/common/board_f.c b/common/board_f.c
index ed3cf6afbe..7d656fae6a 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -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;
diff --git a/include/common.h b/include/common.h
index e96dc7ebc6..4d0dd3f1b7 100644
--- a/include/common.h
+++ b/include/common.h
@@ -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);
-- 
2.22.0.709.g102302147b-goog



More information about the U-Boot mailing list