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