Zubair Lutfullah Kakakhel | 1d153b3 | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Imagination Technologies MIPSfpga platform code |
| 3 | * |
| 4 | * Copyright (C) 2016, Imagination Technologies Ltd. |
| 5 | * |
| 6 | * Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> |
| 7 | * |
| 8 | * SPDX-License-Identifier: GPL-2.0+ |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | #include <common.h> |
| 13 | |
| 14 | /* initialize the DDR Controller and PHY */ |
| 15 | phys_size_t initdram(int board_type) |
| 16 | { |
| 17 | /* MIG IP block is smart and doesn't need SW |
| 18 | * to do any init */ |
| 19 | return CONFIG_SYS_SDRAM_SIZE; /* in bytes */ |
| 20 | } |