]> Git Repo - J-u-boot.git/blame - arch/mips/mach-ath79/dram.c
common: Drop asm/global_data.h from common header
[J-u-boot.git] / arch / mips / mach-ath79 / dram.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
1d3d0f1f
WW
2/*
3 * Copyright (C) 2015-2016 Wills Wang <[email protected]>
1d3d0f1f
WW
4 */
5
6#include <common.h>
9b4a205f 7#include <init.h>
401d1c4f 8#include <asm/global_data.h>
1d3d0f1f
WW
9#include <linux/sizes.h>
10#include <asm/addrspace.h>
11#include <mach/ddr.h>
12
088454cd
SG
13DECLARE_GLOBAL_DATA_PTR;
14
f1683aa7 15int dram_init(void)
1d3d0f1f
WW
16{
17 ddr_tap_tuning();
088454cd
SG
18 gd->ram_size = get_ram_size((void *)KSEG1, SZ_256M);
19
20 return 0;
1d3d0f1f 21}
This page took 0.199646 seconds and 4 git commands to generate.