Stefan Roese | ebabcdc | 2017-08-08 11:52:12 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2016 Stefan Roese <sr@denx.de> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | /* |
| 8 | * board/config.h - configuration options, board specific |
| 9 | */ |
| 10 | |
| 11 | #ifndef __CONFIG_H |
| 12 | #define __CONFIG_H |
| 13 | |
| 14 | #include <configs/x86-common.h> |
| 15 | |
| 16 | #define CONFIG_SYS_MONITOR_LEN (1 << 20) |
| 17 | |
| 18 | #define CONFIG_PREBOOT |
| 19 | |
| 20 | /* Use BayTrail internal HS UART which is memory-mapped */ |
| 21 | #undef CONFIG_SYS_NS16550_PORT_MAPPED |
| 22 | |
| 23 | #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ |
| 24 | "stdout=serial\0" \ |
| 25 | "stderr=serial\0" |
| 26 | |
| 27 | #define CONFIG_USB_HOST_ETHER |
| 28 | #define CONFIG_USB_ETHER_ASIX |
| 29 | #define CONFIG_USB_ETHER_SMSC95XX |
| 30 | #define CONFIG_USB_ETHER_MCS7830 |
| 31 | #define CONFIG_USB_ETHER_RTL8152 |
| 32 | |
| 33 | #define VIDEO_IO_OFFSET 0 |
| 34 | #define CONFIG_X86EMU_RAW_IO |
| 35 | #define CONFIG_CMD_BMP |
| 36 | #define CONFIG_BMP_16BPP |
| 37 | |
| 38 | /* Environment settings */ |
| 39 | #define CONFIG_SYS_REDUNDAND_ENVIRONMENT |
| 40 | #undef CONFIG_ENV_SIZE |
| 41 | #define CONFIG_ENV_SIZE 0x2000 |
| 42 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
| 43 | #define CONFIG_ENV_OFFSET 0x006ec000 |
| 44 | #define CONFIG_ENV_OFFSET_REDUND \ |
| 45 | (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) |
| 46 | |
| 47 | #endif /* __CONFIG_H */ |