mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-10-16 19:22:48 +00:00
52c411805c
It looks like only cm5200 and tqm8xx use this feature, so we don't really need it in generic code. Drop it and have the users access gd->board_type directly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
16 lines
299 B
C
16 lines
299 B
C
/*
|
|
* Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <linux/sizes.h>
|
|
#include <asm/addrspace.h>
|
|
#include <mach/ddr.h>
|
|
|
|
phys_size_t initdram(void)
|
|
{
|
|
ddr_tap_tuning();
|
|
return get_ram_size((void *)KSEG1, SZ_256M);
|
|
}
|