blob: 3901fb672b4ef2e78099cea1eb00990c52d597f1 [file] [log] [blame]
Stefan Roeseb1ad6c62016-08-15 13:50:49 +02001/*
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)
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020017
18#ifndef CONFIG_INTERNAL_UART
19/* Use BayTrail internal HS UART which is memory-mapped */
20#undef CONFIG_SYS_NS16550_PORT_MAPPED
21#endif
22
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020023#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
24 "stdout=serial\0" \
25 "stderr=serial\0"
26
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020027#define VIDEO_IO_OFFSET 0
28#define CONFIG_X86EMU_RAW_IO
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020029
30#define CONFIG_ENV_SECT_SIZE 0x1000
31#define CONFIG_ENV_OFFSET 0x006ef000
32
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020033#undef CONFIG_BOOTCOMMAND
Stefan Roeseb1ad6c62016-08-15 13:50:49 +020034#define CONFIG_BOOTCOMMAND \
35 "load scsi 0:1 03000000 /boot/vmlinuz-${kernel-ver}-generic;" \
36 "load scsi 0:1 04000000 /boot/initrd.img-${kernel-ver}-generic;" \
37 "run boot"
38
39#undef CONFIG_EXTRA_ENV_SETTINGS
40#define CONFIG_EXTRA_ENV_SETTINGS \
41 "kernel-ver=4.4.0-24\0" \
42 "boot=zboot 03000000 0 04000000 ${filesize}\0" \
43 "upd_uboot=usb reset;tftp 100000 dfi/u-boot.rom;" \
44 "sf probe;sf update 100000 0 800000;saveenv\0"
45
46#define CONFIG_PREBOOT
47
48#endif /* __CONFIG_H */