blob: 01b67f7e2d8bd781b69f534e941d6738a080c66c [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Stefan Roese2a0b94c2016-03-16 08:48:21 +01002/*
3 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
Stefan Roese2a0b94c2016-03-16 08:48:21 +01004 */
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 Roese2a0b94c2016-03-16 08:48:21 +010016
Stefan Roese2a0b94c2016-03-16 08:48:21 +010017#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
18 "stdout=serial\0" \
19 "stderr=serial\0"
20
Stefan Roese2a0b94c2016-03-16 08:48:21 +010021#define VIDEO_IO_OFFSET 0
22#define CONFIG_X86EMU_RAW_IO
Stefan Roese2a0b94c2016-03-16 08:48:21 +010023
Stefan Roese2a0b94c2016-03-16 08:48:21 +010024#undef CONFIG_BOOTCOMMAND
Stefan Roese2a0b94c2016-03-16 08:48:21 +010025#define CONFIG_BOOTCOMMAND \
Stefan Roese9a111ce2016-06-28 15:45:13 +020026 "load scsi 0:2 03000000 /boot/vmlinuz-${kernel-ver}-generic;" \
27 "load scsi 0:2 04000000 /boot/initrd.img-${kernel-ver}-generic;" \
Stefan Roese2a0b94c2016-03-16 08:48:21 +010028 "run boot"
29
30#undef CONFIG_EXTRA_ENV_SETTINGS
31#define CONFIG_EXTRA_ENV_SETTINGS \
Stefan Roese9a111ce2016-06-28 15:45:13 +020032 "kernel-ver=4.4.0-22\0" \
Stefan Roese2a0b94c2016-03-16 08:48:21 +010033 "boot=zboot 03000000 0 04000000 ${filesize}\0" \
34 "upd_uboot=tftp 100000 conga/u-boot.rom;" \
Stefan Roese9a111ce2016-06-28 15:45:13 +020035 "sf probe;sf update 100000 0 800000;saveenv\0"
Stefan Roese2a0b94c2016-03-16 08:48:21 +010036
Stefan Roese2a0b94c2016-03-16 08:48:21 +010037#endif /* __CONFIG_H */