xref: /openbmc/u-boot/include/configs/edison.h (revision 12308b12)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2017 Intel Corp.
4  */
5 
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
8 
9 #include <asm/ibmpc.h>
10 
11 /* ACPI */
12 
13 /* Boot */
14 #define CONFIG_BOOTCOMMAND "run bootcmd"
15 
16 /* DISK Partition support */
17 
18 /* Miscellaneous configurable options */
19 
20 #define CONFIG_SYS_CBSIZE	2048
21 #define CONFIG_SYS_MAXARGS	128
22 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE
23 
24 /* Memory */
25 #define CONFIG_SYS_LOAD_ADDR			0x100000
26 #define CONFIG_PHYSMEM
27 
28 #define CONFIG_NR_DRAM_BANKS			3
29 
30 #define CONFIG_SYS_STACK_SIZE			(32 * 1024)
31 
32 #define CONFIG_SYS_MONITOR_BASE			CONFIG_SYS_TEXT_BASE
33 #define CONFIG_SYS_MONITOR_LEN			(256 * 1024)
34 
35 #define CONFIG_SYS_MALLOC_LEN			(128 * 1024 * 1024)
36 
37 #define CONFIG_SYS_MEMTEST_START		0x00100000
38 #define CONFIG_SYS_MEMTEST_END			0x01000000
39 
40 /* Environment */
41 #define CONFIG_SYS_MMC_ENV_DEV			0
42 #define CONFIG_SYS_MMC_ENV_PART			0
43 #define CONFIG_ENV_SIZE				(64 * 1024)
44 #define CONFIG_ENV_OFFSET			(3 * 1024 * 1024)
45 #define CONFIG_ENV_OFFSET_REDUND		(6 * 1024 * 1024)
46 #define CONFIG_SUPPORT_EMMC_BOOT
47 
48 /* PCI */
49 #define CONFIG_CMD_PCI
50 
51 /* RTC */
52 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS	0
53 #define CONFIG_RTC_MC146818
54 
55 #endif
56