aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-17 16:57:37 -0400
committerTom Rini <trini@konsulko.com>2022-06-17 16:57:37 -0400
commit9323740d55997e0ec88fb0d29d9ef2b381cd2503 (patch)
treec329ad6bee35a30f34e741351ef5b2285edce88c
parent0a59b5a6458ed018abce2d93fb450f34a052be53 (diff)
downloadu-boot-WIP/migrate-syms-8.zip
u-boot-WIP/migrate-syms-8.tar.gz
u-boot-WIP/migrate-syms-8.tar.bz2
LCD and SYS_VIDEO_LOGO_MAX_SIZE legacy checkWIP/migrate-syms-8
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/menlo/m53menlo/m53menlo.c1
-rw-r--r--cmd/bmp.c1
-rw-r--r--common/board_f.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/board/menlo/m53menlo/m53menlo.c b/board/menlo/m53menlo/m53menlo.c
index 61ab384..a1e53e8 100644
--- a/board/menlo/m53menlo/m53menlo.c
+++ b/board/menlo/m53menlo/m53menlo.c
@@ -359,6 +359,7 @@ int board_late_init(void)
addr = hextoul(s, NULL);
dst = malloc(CONFIG_SYS_VIDEO_LOGO_MAX_SIZE);
+#error "CONFIG_SYS_VIDEO_LOGO_MAX_SIZE is not unused yet"
if (!dst)
return -ENOMEM;
diff --git a/cmd/bmp.c b/cmd/bmp.c
index 45f4c12..f45f82a 100644
--- a/cmd/bmp.c
+++ b/cmd/bmp.c
@@ -49,6 +49,7 @@ struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
* Decompress bmp image
*/
len = CONFIG_SYS_VIDEO_LOGO_MAX_SIZE;
+#error "CONFIG_SYS_VIDEO_LOGO_MAX_SIZE is not unused yet"
/* allocate extra 3 bytes for 32-bit-aligned-address + 2 alignment */
dst = malloc(CONFIG_SYS_VIDEO_LOGO_MAX_SIZE + 3);
if (dst == NULL) {
diff --git a/common/board_f.c b/common/board_f.c
index cbfd42c..31b068a 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -400,6 +400,7 @@ static int reserve_video(void)
((unsigned long)gd->relocaddr - addr) >> 10, addr);
gd->relocaddr = addr;
#elif defined(CONFIG_LCD)
+#error "CONFIG_LCD is not yet unused"
/* reserve memory for LCD display (always full pages) */
gd->relocaddr = lcd_setmem(gd->relocaddr);
gd->fb_base = gd->relocaddr;