blob: f4b6152a79374b3f9d87090e9ff33b854f9b634c [file] [log] [blame]
Stephen Warren03667eb2016-05-12 13:32:55 -06001/*
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
12DECLARE_GLOBAL_DATA_PTR;
13
14int dram_init(void)
15{
16 gd->ram_size = (1.5 * 1024 * 1024 * 1024);
17 return 0;
18}
19
20int board_early_init_f(void)
21{
22 return 0;
23}
24
25int board_init(void)
26{
27 return 0;
28}
29
30int board_late_init(void)
31{
32 return 0;
33}
34
35void 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
41void pad_init_mmc(struct mmc_host *host)
42{
43}
44
45int board_mmc_init(bd_t *bd)
46{
47 tegra_mmc_init();
48
49 return 0;
50}
51
52int ft_system_setup(void *blob, bd_t *bd)
53{
54 return 0;
55}