blob: 03aa7023061953373600f4162ecebbd40127caec [file] [log] [blame]
Andy Shevchenko495f3772017-07-06 14:41:53 +03001/*
2 * Copyright (c) 2017 Intel Corp.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __CONFIG_H
8#define __CONFIG_H
9
10#include <asm/ibmpc.h>
11
12/* Boot */
13#define CONFIG_CMD_ZBOOT
14#define CONFIG_BOOTCOMMAND "run bootcmd"
15
16/* DISK Partition support */
17#define CONFIG_RANDOM_UUID
18
19/* Miscellaneous configurable options */
20#define CONFIG_SYS_LONGHELP
21
22#define CONFIG_SYS_CBSIZE 2048
23#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
24#define CONFIG_SYS_MAXARGS 128
25#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
26
27#define CONFIG_AUTO_COMPLETE
28
29/* Memory */
30#define CONFIG_SYS_LOAD_ADDR 0x100000
31#define CONFIG_PHYSMEM
32
33#define CONFIG_NR_DRAM_BANKS 3
34
35#define CONFIG_SYS_STACK_SIZE (32 * 1024)
36
37#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
38#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
39
40#define CONFIG_SYS_MALLOC_LEN (128 * 1024 * 1024)
41
42#define CONFIG_SYS_MEMTEST_START 0x00100000
43#define CONFIG_SYS_MEMTEST_END 0x01000000
44
45/* Environment */
46#define CONFIG_ENV_IS_IN_MMC
47#define CONFIG_SYS_MMC_ENV_DEV 0
48#define CONFIG_SYS_MMC_ENV_PART 0
49#define CONFIG_ENV_SIZE (64 * 1024)
50#define CONFIG_ENV_OFFSET (3 * 1024 * 1024)
51#define CONFIG_ENV_OFFSET_REDUND (6 * 1024 * 1024)
52#define CONFIG_SUPPORT_EMMC_BOOT
53
54/* PCI */
55#define CONFIG_CMD_PCI
56
57/* RTC */
58#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
59#define CONFIG_RTC_MC146818
60
61#endif