blob: 84c971c7933d4daf4a5f7d1fdd5f8c6e6ce64e9b [file] [log] [blame]
Patrick Delaunay8eb3b1e2018-03-12 10:46:18 +01001/*
2 * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
3 *
4 * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause
5 */
6#include <config.h>
7#include <common.h>
8#include <asm/arch/stm32.h>
9
10/*
11 * Get a global data pointer
12 */
13DECLARE_GLOBAL_DATA_PTR;
14
15int board_late_init(void)
16{
17 return 0;
18}
19
20/* board dependent setup after realloc */
21int board_init(void)
22{
23 /* address of boot parameters */
24 gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
25
26 return 0;
27}