1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (c) 2016 Google, Inc
4  */
5 
6 #include <common.h>
7 
8 DECLARE_GLOBAL_DATA_PTR;
9 
10 int dram_init(void)
11 {
12 	gd->ram_size = 1ULL << 31;
13 	gd->bd->bi_dram[0].start = 0;
14 	gd->bd->bi_dram[0].size = gd->ram_size;
15 
16 	return 0;
17 }
18