blob: c29e98c2f4c2e0009fd843c214490d6d3c1b519e [file] [log] [blame]
Wills Wang1d3d0f12016-03-16 16:59:52 +08001/*
2 * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8#include <linux/sizes.h>
9#include <asm/addrspace.h>
10#include <mach/ddr.h>
11
12phys_size_t initdram(int board_type)
13{
14 ddr_tap_tuning();
15 return get_ram_size((void *)KSEG1, SZ_256M);
16}