Merge tag 'mips-pull-2022-11-03' of https://source.denx.de/u-boot/custodians/u-boot...
[platform/kernel/u-boot.git] / include / configs / malta.h
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 #define CONFIG_MALTA
13
14 #define CONFIG_MEMSIZE_IN_BYTES
15
16 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS  0
17
18 /*
19  * CPU Configuration
20  */
21
22 /*
23  * Memory map
24  */
25
26 #ifdef CONFIG_64BIT
27 # define CONFIG_SYS_SDRAM_BASE          0xffffffff80000000
28 #else
29 # define CONFIG_SYS_SDRAM_BASE          0x80000000
30 #endif
31 #define CONFIG_SYS_SDRAM_SIZE           0x10000000      /* 256 MiB */
32
33 #define CONFIG_SYS_INIT_SP_OFFSET       0x400000
34
35 /*
36  * Serial driver
37  */
38 #define CONFIG_SYS_NS16550_PORT_MAPPED
39
40 /*
41  * Flash configuration
42  */
43 #ifdef CONFIG_64BIT
44 # define CONFIG_SYS_FLASH_BASE          0xffffffffbe000000
45 #else
46 # define CONFIG_SYS_FLASH_BASE          0xbe000000
47 #endif
48
49 /*
50  * Environment
51  */
52
53 /*
54  * IDE/ATA
55  */
56
57 /*
58  * Commands
59  */
60
61 #endif /* _MALTA_CONFIG_H */