blob: 1cf5c037e850c4803ca14520b5066a998f57fdd3 [file] [log] [blame]
Bin Meng858429b2018-06-12 08:36:18 -07001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
4 */
5
6/*
7 * board/config.h - configuration options, board specific
8 */
9
10#ifndef __CONFIG_H
11#define __CONFIG_H
12
13#include <configs/x86-common.h>
14
15#define CONFIG_SYS_MONITOR_LEN (1 << 20)
16
Bin Mengdb59dd32018-06-17 05:57:53 -070017#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
Bin Meng858429b2018-06-12 08:36:18 -070018 "stdout=serial,vidconsole\0" \
19 "stderr=serial,vidconsole\0"
20
21/* ATA/IDE support */
22#define CONFIG_SYS_IDE_MAXBUS 2
23#define CONFIG_SYS_IDE_MAXDEVICE 4
24#define CONFIG_SYS_ATA_BASE_ADDR 0
25#define CONFIG_SYS_ATA_DATA_OFFSET 0
26#define CONFIG_SYS_ATA_REG_OFFSET 0
27#define CONFIG_SYS_ATA_ALT_OFFSET 0
28#define CONFIG_SYS_ATA_IDE0_OFFSET 0x1f0
29#define CONFIG_SYS_ATA_IDE1_OFFSET 0x170
30#define CONFIG_ATAPI
31
32#endif /* __CONFIG_H */