diff options
author | Tom Rini <trini@konsulko.com> | 2022-06-17 16:57:37 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-17 16:57:37 -0400 |
commit | 9323740d55997e0ec88fb0d29d9ef2b381cd2503 (patch) | |
tree | c329ad6bee35a30f34e741351ef5b2285edce88c | |
parent | 0a59b5a6458ed018abce2d93fb450f34a052be53 (diff) | |
download | u-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.c | 1 | ||||
-rw-r--r-- | cmd/bmp.c | 1 | ||||
-rw-r--r-- | common/board_f.c | 1 |
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; @@ -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; |