]> Git Repo - J-u-boot.git/blame - include/configs/malta.h
Convert CONFIG_SYS_LOAD_ADDR to Kconfig
[J-u-boot.git] / include / configs / malta.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0 */
5a4dcfac
GJ
2/*
3 * Copyright (C) 2013 Gabor Juhos <[email protected]>
5a4dcfac
GJ
4 */
5
7a9d109b
PB
6#ifndef _MALTA_CONFIG_H
7#define _MALTA_CONFIG_H
5a4dcfac 8
5a4dcfac
GJ
9/*
10 * System configuration
11 */
7a9d109b 12#define CONFIG_MALTA
5a4dcfac 13
ab41305d
GJ
14#define CONFIG_MEMSIZE_IN_BYTES
15
feaa6066 16#define CONFIG_PCI_GT64120
baf37f06 17#define CONFIG_PCI_MSC01
feaa6066 18
3ced12a0
PB
19#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
20
5a4dcfac
GJ
21/*
22 * CPU Configuration
23 */
24#define CONFIG_SYS_MHZ 250 /* arbitrary value */
25#define CONFIG_SYS_MIPS_TIMER_FREQ (CONFIG_SYS_MHZ * 1000000)
5a4dcfac 26
5a4dcfac
GJ
27/*
28 * Memory map
29 */
10473d04 30#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
5a4dcfac 31
0f832b9c
PB
32#ifdef CONFIG_64BIT
33# define CONFIG_SYS_SDRAM_BASE 0xffffffff80000000
34#else
35# define CONFIG_SYS_SDRAM_BASE 0x80000000
36#endif
5a4dcfac
GJ
37#define CONFIG_SYS_MEM_SIZE (256 * 1024 * 1024)
38
39#define CONFIG_SYS_INIT_SP_OFFSET 0x400000
40
5a4dcfac
GJ
41#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
42#define CONFIG_SYS_BOOTPARAMS_LEN (128 * 1024)
67d4752d 43#define CONFIG_SYS_BOOTM_LEN (64 * 1024 * 1024)
5a4dcfac 44
5a4dcfac
GJ
45/*
46 * Serial driver
47 */
2e7eb12e 48#define CONFIG_SYS_NS16550_PORT_MAPPED
5a4dcfac 49
5a4dcfac
GJ
50/*
51 * Flash configuration
52 */
0f832b9c
PB
53#ifdef CONFIG_64BIT
54# define CONFIG_SYS_FLASH_BASE 0xffffffffbe000000
55#else
56# define CONFIG_SYS_FLASH_BASE 0xbe000000
57#endif
52caee0f
GJ
58#define CONFIG_SYS_MAX_FLASH_BANKS 1
59#define CONFIG_SYS_MAX_FLASH_SECT 128
5a4dcfac 60
fba6f45c
PB
61/*
62 * Environment
63 */
fba6f45c 64
ba21a453
PB
65/*
66 * IDE/ATA
67 */
68#define CONFIG_SYS_IDE_MAXBUS 1
69#define CONFIG_SYS_IDE_MAXDEVICE 2
70#define CONFIG_SYS_ATA_BASE_ADDR CONFIG_SYS_ISA_IO_BASE_ADDRESS
71#define CONFIG_SYS_ATA_IDE0_OFFSET 0x01f0
72#define CONFIG_SYS_ATA_DATA_OFFSET 0
73#define CONFIG_SYS_ATA_REG_OFFSET 0
74
5a4dcfac
GJ
75/*
76 * Commands
77 */
feaa6066 78
7a9d109b 79#endif /* _MALTA_CONFIG_H */
This page took 0.649966 seconds and 4 git commands to generate.