diff options
Diffstat (limited to 'board/st/stm32f746-disco/stm32f746-disco.c')
-rw-r--r-- | board/st/stm32f746-disco/stm32f746-disco.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index 8da70281f97..c4f263332c8 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -7,14 +7,16 @@ #include <common.h> #include <dm.h> +#include <lcd.h> #include <ram.h> #include <spl.h> +#include <splash.h> +#include <st_logo_data.h> +#include <video.h> #include <asm/io.h> #include <asm/armv7m.h> #include <asm/arch/stm32.h> #include <asm/arch/gpio.h> -#include <asm/arch/stm32_periph.h> -#include <asm/arch/stm32_defs.h> #include <asm/arch/syscfg.h> #include <asm/gpio.h> @@ -155,5 +157,10 @@ int board_init(void) STM32_SYSCFG->pmc |= SYSCFG_PMC_MII_RMII_SEL; #endif +#if defined(CONFIG_CMD_BMP) + bmp_display((ulong)stmicroelectronics_uboot_logo_8bit_rle, + BMP_ALIGN_CENTER, BMP_ALIGN_CENTER); +#endif /* CONFIG_CMD_BMP */ + return 0; } |