blob: 3233f6653c4e2d4eabb05195d7fc2e8bb6468a55 [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
Andy Shevchenko256df1e2017-10-03 14:55:08 +030012/* ACPI */
Andy Shevchenko256df1e2017-10-03 14:55:08 +030013
Andy Shevchenko495f3772017-07-06 14:41:53 +030014/* Boot */
Andy Shevchenko495f3772017-07-06 14:41:53 +030015#define CONFIG_BOOTCOMMAND "run bootcmd"
16
17/* DISK Partition support */
Andy Shevchenko495f3772017-07-06 14:41:53 +030018
19/* Miscellaneous configurable options */
Andy Shevchenko495f3772017-07-06 14:41:53 +030020
21#define CONFIG_SYS_CBSIZE 2048
Andy Shevchenko495f3772017-07-06 14:41:53 +030022#define CONFIG_SYS_MAXARGS 128
23#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
24
Andy Shevchenko495f3772017-07-06 14:41:53 +030025/* Memory */
26#define CONFIG_SYS_LOAD_ADDR 0x100000
27#define CONFIG_PHYSMEM
28
29#define CONFIG_NR_DRAM_BANKS 3
30
31#define CONFIG_SYS_STACK_SIZE (32 * 1024)
32
33#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
34#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
35
36#define CONFIG_SYS_MALLOC_LEN (128 * 1024 * 1024)
37
38#define CONFIG_SYS_MEMTEST_START 0x00100000
39#define CONFIG_SYS_MEMTEST_END 0x01000000
40
41/* Environment */
Andy Shevchenko495f3772017-07-06 14:41:53 +030042#define CONFIG_SYS_MMC_ENV_DEV 0
43#define CONFIG_SYS_MMC_ENV_PART 0
44#define CONFIG_ENV_SIZE (64 * 1024)
45#define CONFIG_ENV_OFFSET (3 * 1024 * 1024)
46#define CONFIG_ENV_OFFSET_REDUND (6 * 1024 * 1024)
47#define CONFIG_SUPPORT_EMMC_BOOT
48
49/* PCI */
50#define CONFIG_CMD_PCI
51
52/* RTC */
53#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
54#define CONFIG_RTC_MC146818
55
56#endif