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