common: Drop init.h from common header
[pandora-u-boot.git] / board / imgtec / xilfpga / xilfpga.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Imagination Technologies MIPSfpga platform code
4  *
5  * Copyright (C) 2016, Imagination Technologies Ltd.
6  *
7  * Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
8  *
9  */
10
11 #include <common.h>
12 #include <init.h>
13
14 DECLARE_GLOBAL_DATA_PTR;
15
16 /* initialize the DDR Controller and PHY */
17 int dram_init(void)
18 {
19         /* MIG IP block is smart and doesn't need SW
20          * to do any init */
21         gd->ram_size = CONFIG_SYS_SDRAM_SIZE;   /* in bytes */
22
23         return 0;
24 }