blob: 86c584d73dc528f5cb89da21150488508e40ac50 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Andy Shevchenkod31315d2017-07-06 14:41:53 +03002/*
3 * Copyright (c) 2017 Intel Corp.
Andy Shevchenkod31315d2017-07-06 14:41:53 +03004 */
5
6#ifndef __CONFIG_H
7#define __CONFIG_H
8
9#include <asm/ibmpc.h>
10
Andy Shevchenko6391f072017-10-03 14:55:08 +030011/* ACPI */
Andy Shevchenko6391f072017-10-03 14:55:08 +030012
Andy Shevchenkod31315d2017-07-06 14:41:53 +030013/* Boot */
Andy Shevchenkod31315d2017-07-06 14:41:53 +030014#define CONFIG_BOOTCOMMAND "run bootcmd"
15
16/* DISK Partition support */
Andy Shevchenkod31315d2017-07-06 14:41:53 +030017
18/* Miscellaneous configurable options */
Andy Shevchenkod31315d2017-07-06 14:41:53 +030019
20#define CONFIG_SYS_CBSIZE 2048
Andy Shevchenkod31315d2017-07-06 14:41:53 +030021#define CONFIG_SYS_MAXARGS 128
22#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
23
Andy Shevchenkod31315d2017-07-06 14:41:53 +030024/* Memory */
25#define CONFIG_SYS_LOAD_ADDR 0x100000
26#define CONFIG_PHYSMEM
27
Andy Shevchenkod31315d2017-07-06 14:41:53 +030028#define CONFIG_SYS_STACK_SIZE (32 * 1024)
29
30#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
31#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
32
33#define CONFIG_SYS_MALLOC_LEN (128 * 1024 * 1024)
34
35#define CONFIG_SYS_MEMTEST_START 0x00100000
36#define CONFIG_SYS_MEMTEST_END 0x01000000
37
38/* Environment */
Andy Shevchenkod31315d2017-07-06 14:41:53 +030039#define CONFIG_SYS_MMC_ENV_DEV 0
40#define CONFIG_SYS_MMC_ENV_PART 0
41#define CONFIG_ENV_SIZE (64 * 1024)
42#define CONFIG_ENV_OFFSET (3 * 1024 * 1024)
43#define CONFIG_ENV_OFFSET_REDUND (6 * 1024 * 1024)
44#define CONFIG_SUPPORT_EMMC_BOOT
45
46/* PCI */
47#define CONFIG_CMD_PCI
48
49/* RTC */
50#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
Andy Shevchenkod31315d2017-07-06 14:41:53 +030051
52#endif