1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2013 Gabor Juhos <juhosg@openwrt.org>
4  */
5 
6 #ifndef _MALTA_CONFIG_H
7 #define _MALTA_CONFIG_H
8 
9 /*
10  * System configuration
11  */
12 
13 /*
14  * CPU Configuration
15  */
16 
17 /*
18  * Memory map
19  */
20 
21 #ifdef CONFIG_64BIT
22 # define CFG_SYS_SDRAM_BASE		0xffffffff80000000
23 #else
24 # define CFG_SYS_SDRAM_BASE		0x80000000
25 #endif
26 #define CFG_SYS_SDRAM_SIZE		0x10000000	/* 256 MiB */
27 
28 #define CFG_SYS_INIT_SP_OFFSET	0x400000
29 
30 /*
31  * Serial driver
32  */
33 
34 /*
35  * Flash configuration
36  */
37 #ifdef CONFIG_64BIT
38 # define CFG_SYS_FLASH_BASE		0xffffffffbe000000
39 #else
40 # define CFG_SYS_FLASH_BASE		0xbe000000
41 #endif
42 
43 /*
44  * Environment
45  */
46 
47 /*
48  * IDE/ATA
49  */
50 
51 /*
52  * Commands
53  */
54 
55 #endif /* _MALTA_CONFIG_H */
56