blob: 54e6acf2621137c5c37f3ff4ac4854f38f301221 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0
Simon Glass78a20d22017-01-16 07:04:08 -07002/*
3 * Copyright (c) 2016 Google, Inc
Simon Glass78a20d22017-01-16 07:04:08 -07004 */
5
6#include <common.h>
Simon Glass97589732020-05-10 11:40:02 -06007#include <init.h>
Simon Glass78a20d22017-01-16 07:04:08 -07008
9DECLARE_GLOBAL_DATA_PTR;
10
11int dram_init(void)
12{
13 gd->ram_size = 1ULL << 31;
14 gd->bd->bi_dram[0].start = 0;
15 gd->bd->bi_dram[0].size = gd->ram_size;
16
17 return 0;
18}