aboutsummaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-20 08:07:43 -0400
committerTom Rini <trini@konsulko.com>2022-07-05 17:04:40 -0400
commit5d7f601480fa9a5327be14d14a5d12e3dc595559 (patch)
tree0d228ac378cc22c8bffbe8f1d3f9cf9240280552 /common/board_f.c
parentd8e8461709a4a996d8b65178a99c59024e9da5ac (diff)
downloadu-boot-5d7f601480fa9a5327be14d14a5d12e3dc595559.zip
u-boot-5d7f601480fa9a5327be14d14a5d12e3dc595559.tar.gz
u-boot-5d7f601480fa9a5327be14d14a5d12e3dc595559.tar.bz2
lcd: Remove legacy CONFIG_FB_ADDR code
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>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/board_f.c b/common/board_f.c
index a5666ca..5c86fae 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -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;