Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2017 Intel Corp. |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_H |
| 7 | #define __CONFIG_H |
| 8 | |
| 9 | #include <asm/ibmpc.h> |
| 10 | |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 11 | /* Miscellaneous configurable options */ |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 12 | |
| 13 | #define CONFIG_SYS_CBSIZE 2048 |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 14 | #define CONFIG_SYS_MAXARGS 128 |
| 15 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE |
| 16 | |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 17 | /* Memory */ |
| 18 | #define CONFIG_SYS_LOAD_ADDR 0x100000 |
| 19 | #define CONFIG_PHYSMEM |
| 20 | |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 21 | #define CONFIG_SYS_STACK_SIZE (32 * 1024) |
| 22 | |
| 23 | #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE |
| 24 | #define CONFIG_SYS_MONITOR_LEN (256 * 1024) |
| 25 | |
| 26 | #define CONFIG_SYS_MALLOC_LEN (128 * 1024 * 1024) |
| 27 | |
| 28 | #define CONFIG_SYS_MEMTEST_START 0x00100000 |
| 29 | #define CONFIG_SYS_MEMTEST_END 0x01000000 |
| 30 | |
| 31 | /* Environment */ |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 32 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
| 33 | #define CONFIG_SYS_MMC_ENV_PART 0 |
| 34 | #define CONFIG_ENV_SIZE (64 * 1024) |
| 35 | #define CONFIG_ENV_OFFSET (3 * 1024 * 1024) |
| 36 | #define CONFIG_ENV_OFFSET_REDUND (6 * 1024 * 1024) |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 37 | |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 38 | /* RTC */ |
| 39 | #define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0 |
Andy Shevchenko | 495f377 | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 40 | |
| 41 | #endif |