blob: 53ed7de07201425ca1a55b4748fdf48fae14ec6e [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Stefan Roeseb1ad6c62016-08-15 13:50:49 +02002/*
3 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
Stefan Roeseb1ad6c62016-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
15#define CONFIG_SYS_MONITOR_LEN (1 << 20)
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020016
17#ifndef CONFIG_INTERNAL_UART
18/* Use BayTrail internal HS UART which is memory-mapped */
19#undef CONFIG_SYS_NS16550_PORT_MAPPED
20#endif
21
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020022#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
23 "stdout=serial\0" \
24 "stderr=serial\0"
25
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020026#define VIDEO_IO_OFFSET 0
27#define CONFIG_X86EMU_RAW_IO
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020028
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020029#undef CONFIG_EXTRA_ENV_SETTINGS
30#define CONFIG_EXTRA_ENV_SETTINGS \
31 "kernel-ver=4.4.0-24\0" \
32 "boot=zboot 03000000 0 04000000 ${filesize}\0" \
33 "upd_uboot=usb reset;tftp 100000 dfi/u-boot.rom;" \
34 "sf probe;sf update 100000 0 800000;saveenv\0"
35
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020036#endif /* __CONFIG_H */