Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 1 | /* |
| 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 Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 17 | |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 18 | #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ |
| 19 | "stdout=serial\0" \ |
| 20 | "stderr=serial\0" |
| 21 | |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 22 | #define VIDEO_IO_OFFSET 0 |
| 23 | #define CONFIG_X86EMU_RAW_IO |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 24 | |
| 25 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
Stefan Roese | 9a111ce | 2016-06-28 15:45:13 +0200 | [diff] [blame] | 26 | #define CONFIG_ENV_OFFSET 0x006ef000 |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 27 | |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 28 | #undef CONFIG_BOOTCOMMAND |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 29 | #define CONFIG_BOOTCOMMAND \ |
Stefan Roese | 9a111ce | 2016-06-28 15:45:13 +0200 | [diff] [blame] | 30 | "load scsi 0:2 03000000 /boot/vmlinuz-${kernel-ver}-generic;" \ |
| 31 | "load scsi 0:2 04000000 /boot/initrd.img-${kernel-ver}-generic;" \ |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 32 | "run boot" |
| 33 | |
| 34 | #undef CONFIG_EXTRA_ENV_SETTINGS |
| 35 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
Stefan Roese | 9a111ce | 2016-06-28 15:45:13 +0200 | [diff] [blame] | 36 | "kernel-ver=4.4.0-22\0" \ |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 37 | "boot=zboot 03000000 0 04000000 ${filesize}\0" \ |
| 38 | "upd_uboot=tftp 100000 conga/u-boot.rom;" \ |
Stefan Roese | 9a111ce | 2016-06-28 15:45:13 +0200 | [diff] [blame] | 39 | "sf probe;sf update 100000 0 800000;saveenv\0" |
Stefan Roese | 2a0b94c | 2016-03-16 08:48:21 +0100 | [diff] [blame] | 40 | |
| 41 | #define CONFIG_PREBOOT |
| 42 | |
| 43 | #endif /* __CONFIG_H */ |