aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:38 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit3c1ecde402ca5ba851ce846ceeeffc6e5ab30490 (patch)
tree3c28f60aae442e3686008ab9c6b5870f6ede11a7
parent4575a77b7adaf95638d288d5b2429a44bebd6068 (diff)
downloadu-boot-3c1ecde402ca5ba851ce846ceeeffc6e5ab30490.zip
u-boot-3c1ecde402ca5ba851ce846ceeeffc6e5ab30490.tar.gz
u-boot-3c1ecde402ca5ba851ce846ceeeffc6e5ab30490.tar.bz2
common: Move lcd_setmem() to lcd.h
This function relates to lcd.h and is about to become obsolete with the driver-model conversion. Move it out of common.h Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--common/board_f.c1
-rw-r--r--include/common.h3
-rw-r--r--include/lcd.h1
3 files changed, 2 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 4760d72..ed3cf6a 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -19,6 +19,7 @@
#include <fs.h>
#include <i2c.h>
#include <initcall.h>
+#include <lcd.h>
#include <malloc.h>
#include <mapmem.h>
#include <os.h>
diff --git a/include/common.h b/include/common.h
index df58916..e96dc7e 100644
--- a/include/common.h
+++ b/include/common.h
@@ -385,9 +385,6 @@ ulong bootcount_load (void);
/* $(CPU)/.../<eth> */
void mii_init (void);
-/* $(CPU)/.../lcd.c */
-ulong lcd_setmem (ulong);
-
/* $(CPU)/.../video.c */
ulong video_setmem (ulong);
diff --git a/include/lcd.h b/include/lcd.h
index cb6b6a4..9a4c0da 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -30,6 +30,7 @@ extern struct vidinfo panel_info;
void lcd_ctrl_init(void *lcdbase);
void lcd_enable(void);
void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue);
+ulong lcd_setmem(ulong addr);
/**
* Set whether we need to flush the dcache when changing the LCD image. This