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