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

Simon Glass sjg at chromium.org
Thu Aug 1 15:46:39 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>
---

Changes in v2: None

 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