SPDX: Convert all of our single license tags to Linux Kernel style
[platform/kernel/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
13 DECLARE_GLOBAL_DATA_PTR;
14
15 /* initialize the DDR Controller and PHY */
16 int dram_init(void)
17 {
18         /* MIG IP block is smart and doesn't need SW
19          * to do any init */
20         gd->ram_size = CONFIG_SYS_SDRAM_SIZE;   /* in bytes */
21
22         return 0;
23 }