Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 1 | /* |
| 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 */ |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 13 | #define CONFIG_BOOTCOMMAND "run bootcmd" |
| 14 | |
| 15 | /* DISK Partition support */ |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 16 | |
| 17 | /* Miscellaneous configurable options */ |
| 18 | #define CONFIG_SYS_LONGHELP |
| 19 | |
| 20 | #define CONFIG_SYS_CBSIZE 2048 |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 21 | #define CONFIG_SYS_MAXARGS 128 |
| 22 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE |
| 23 | |
| 24 | #define CONFIG_AUTO_COMPLETE |
| 25 | |
| 26 | /* Memory */ |
| 27 | #define CONFIG_SYS_LOAD_ADDR 0x100000 |
| 28 | #define CONFIG_PHYSMEM |
| 29 | |
| 30 | #define CONFIG_NR_DRAM_BANKS 3 |
| 31 | |
| 32 | #define CONFIG_SYS_STACK_SIZE (32 * 1024) |
| 33 | |
| 34 | #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE |
| 35 | #define CONFIG_SYS_MONITOR_LEN (256 * 1024) |
| 36 | |
| 37 | #define CONFIG_SYS_MALLOC_LEN (128 * 1024 * 1024) |
| 38 | |
| 39 | #define CONFIG_SYS_MEMTEST_START 0x00100000 |
| 40 | #define CONFIG_SYS_MEMTEST_END 0x01000000 |
| 41 | |
| 42 | /* Environment */ |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 43 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
| 44 | #define CONFIG_SYS_MMC_ENV_PART 0 |
| 45 | #define CONFIG_ENV_SIZE (64 * 1024) |
| 46 | #define CONFIG_ENV_OFFSET (3 * 1024 * 1024) |
| 47 | #define CONFIG_ENV_OFFSET_REDUND (6 * 1024 * 1024) |
| 48 | #define CONFIG_SUPPORT_EMMC_BOOT |
| 49 | |
| 50 | /* PCI */ |
| 51 | #define CONFIG_CMD_PCI |
| 52 | |
| 53 | /* RTC */ |
| 54 | #define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0 |
| 55 | #define CONFIG_RTC_MC146818 |
| 56 | |
| 57 | #endif |