Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016, Imagination Technologies Ltd. |
| 4 | * |
| 5 | * Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> |
| 6 | * |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 7 | * Imagination Technologies Ltd. MIPSfpga |
| 8 | */ |
| 9 | |
| 10 | #ifndef __XILFPGA_CONFIG_H |
| 11 | #define __XILFPGA_CONFIG_H |
| 12 | |
| 13 | /* BootROM + MIG is pretty smart. DDR and Cache initialized */ |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 14 | |
| 15 | /*-------------------------------------------- |
| 16 | * CPU configuration |
| 17 | */ |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 18 | |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 19 | /*---------------------------------------------------------------------- |
| 20 | * Memory Layout |
| 21 | */ |
| 22 | |
| 23 | /* SDRAM Configuration (for final code, data, stack, heap) */ |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 24 | #define CFG_SYS_SDRAM_BASE 0x80000000 |
| 25 | #define CFG_SYS_SDRAM_SIZE 0x08000000 /* 128 Mbytes */ |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 26 | |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 27 | /*---------------------------------------------------------------------- |
| 28 | * Commands |
| 29 | */ |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 30 | |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 31 | /*------------------------------------------------------------ |
| 32 | * Console Configuration |
| 33 | */ |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 34 | |
| 35 | /* ------------------------------------------------- |
| 36 | * Environment |
| 37 | */ |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 38 | |
| 39 | /* --------------------------------------------------------------------- |
| 40 | * Board boot configuration |
| 41 | */ |
Zubair Lutfullah Kakakhel | ebf2b9e | 2016-07-29 15:11:20 +0100 | [diff] [blame] | 42 | |
| 43 | #endif /* __XILFPGA_CONFIG_H */ |