Merge branch '2022-08-04-Kconfig-migrations'
[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 #define CONFIG_SYS_MHZ                  250     /* arbitrary value */
22 #define CONFIG_SYS_MIPS_TIMER_FREQ      (CONFIG_SYS_MHZ * 1000000)
23
24 /*
25  * Memory map
26  */
27
28 #ifdef CONFIG_64BIT
29 # define CONFIG_SYS_SDRAM_BASE          0xffffffff80000000
30 #else
31 # define CONFIG_SYS_SDRAM_BASE          0x80000000
32 #endif
33 #define CONFIG_SYS_SDRAM_SIZE           0x10000000      /* 256 MiB */
34
35 #define CONFIG_SYS_INIT_SP_OFFSET       0x400000
36
37 /*
38  * Serial driver
39  */
40 #define CONFIG_SYS_NS16550_PORT_MAPPED
41
42 /*
43  * Flash configuration
44  */
45 #ifdef CONFIG_64BIT
46 # define CONFIG_SYS_FLASH_BASE          0xffffffffbe000000
47 #else
48 # define CONFIG_SYS_FLASH_BASE          0xbe000000
49 #endif
50
51 /*
52  * Environment
53  */
54
55 /*
56  * IDE/ATA
57  */
58
59 /*
60  * Commands
61  */
62
63 #endif /* _MALTA_CONFIG_H */