3 * Vikas Manocha, ST Micoelectronics, vikas.manocha@st.com.
5 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm/arch/stv0991_periph.h>
11 #include <asm/arch/stv0991_defs.h>
13 DECLARE_GLOBAL_DATA_PTR;
15 #ifdef CONFIG_SHOW_BOOT_PROGRESS
16 void show_boot_progress(int progress)
18 printf("%i\n", progress);
23 * Miscellaneous platform dependent initialisations
30 int board_uart_init(void)
32 stv0991_pinmux_config(UART_GPIOC_30_31);
33 clock_setup(UART_CLOCK_CFG);
36 #ifdef CONFIG_BOARD_EARLY_INIT_F
37 int board_early_init_f(void)
46 gd->ram_size = PHYS_SDRAM_1_SIZE;
50 void dram_init_banksize(void)
52 gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
53 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;