mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
avr32: Fix cast warning in board.c
The frame buffer pointer in global_data is not a pointer, so we should remove these casts. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
This commit is contained in:
parent
9e97834867
commit
81e2ff0bf1
1 changed files with 2 additions and 2 deletions
|
@ -211,11 +211,11 @@ void board_init_f(ulong board_type)
|
|||
#ifdef CONFIG_FB_ADDR
|
||||
printf("LCD: Frame buffer allocated at preset 0x%08x\n",
|
||||
CONFIG_FB_ADDR);
|
||||
gd->fb_base = (void *)CONFIG_FB_ADDR;
|
||||
gd->fb_base = CONFIG_FB_ADDR;
|
||||
#else
|
||||
addr = lcd_setmem(addr);
|
||||
printf("LCD: Frame buffer allocated at 0x%08lx\n", addr);
|
||||
gd->fb_base = (void *)addr;
|
||||
gd->fb_base = addr;
|
||||
#endif /* CONFIG_FB_ADDR */
|
||||
#endif /* CONFIG_LCD */
|
||||
|
||||
|
|
Loading…
Reference in a new issue