blob: 4297047e8ce2583e6552366b06145dd0ba6a911a [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Stefan Roese312dc932016-08-15 13:50:49 +02002/*
3 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
Stefan Roese312dc932016-08-15 13:50:49 +02004 */
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
Stefan Roese312dc932016-08-15 13:50:49 +020015#ifndef CONFIG_INTERNAL_UART
16/* Use BayTrail internal HS UART which is memory-mapped */
17#undef CONFIG_SYS_NS16550_PORT_MAPPED
18#endif
19
Stefan Roese312dc932016-08-15 13:50:49 +020020#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
21 "stdout=serial\0" \
22 "stderr=serial\0"
23
Stefan Roese312dc932016-08-15 13:50:49 +020024#define VIDEO_IO_OFFSET 0
25#define CONFIG_X86EMU_RAW_IO
Stefan Roese312dc932016-08-15 13:50:49 +020026
Stefan Roese312dc932016-08-15 13:50:49 +020027#undef CONFIG_EXTRA_ENV_SETTINGS
28#define CONFIG_EXTRA_ENV_SETTINGS \
29 "kernel-ver=4.4.0-24\0" \
30 "boot=zboot 03000000 0 04000000 ${filesize}\0" \
31 "upd_uboot=usb reset;tftp 100000 dfi/u-boot.rom;" \
32 "sf probe;sf update 100000 0 800000;saveenv\0"
33
Stefan Roese312dc932016-08-15 13:50:49 +020034#endif /* __CONFIG_H */