]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-tegra/board186.c
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
[u-boot] / arch / arm / mach-tegra / board186.c
1 /*
2  * Copyright (c) 2016, NVIDIA CORPORATION.
3  *
4  * SPDX-License-Identifier: GPL-2.0+
5  */
6
7 #include <common.h>
8 #include <asm/arch/tegra.h>
9 #include <asm/arch-tegra/mmc.h>
10 #include <asm/arch-tegra/tegra_mmc.h>
11
12 DECLARE_GLOBAL_DATA_PTR;
13
14 int dram_init(void)
15 {
16         gd->ram_size = (1.5 * 1024 * 1024 * 1024);
17         return 0;
18 }
19
20 int board_early_init_f(void)
21 {
22         return 0;
23 }
24
25 int board_init(void)
26 {
27         return 0;
28 }
29
30 int board_late_init(void)
31 {
32         return 0;
33 }
34
35 void dram_init_banksize(void)
36 {
37         gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
38         gd->bd->bi_dram[0].size = gd->ram_size;
39 }
40
41 void pad_init_mmc(struct mmc_host *host)
42 {
43 }
44
45 int board_mmc_init(bd_t *bd)
46 {
47         tegra_mmc_init();
48
49         return 0;
50 }
51
52 int ft_system_setup(void *blob, bd_t *bd)
53 {
54         return 0;
55 }