]>
Commit | Line | Data |
---|---|---|
43d28855 SG |
1 | // SPDX-License-Identifier: GPL-2.0-or-later |
2 | /* | |
3 | * Copyright (C) 2019 Stephan Gerhold <[email protected]> | |
4 | */ | |
5 | #include <common.h> | |
691d719d | 6 | #include <init.h> |
401d1c4f | 7 | #include <asm/global_data.h> |
43d28855 SG |
8 | |
9 | DECLARE_GLOBAL_DATA_PTR; | |
10 | ||
11 | int dram_init(void) | |
12 | { | |
13 | gd->ram_size = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_SIZE); | |
14 | return 0; | |
15 | } | |
16 | ||
17 | int board_init(void) | |
18 | { | |
19 | return 0; | |
20 | } |