Merge git://git.denx.de/u-boot-mpc85xx
[platform/kernel/u-boot.git] / include / configs / conga-qeval20-qa3-e3845.h
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)
17
18 #define CONFIG_STD_DEVICES_SETTINGS     "stdin=serial\0" \
19                                         "stdout=serial\0" \
20                                         "stderr=serial\0"
21
22 #define CONFIG_SCSI_DEV_LIST            \
23         {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \
24         {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT}
25
26 #undef CONFIG_USB_MAX_CONTROLLER_COUNT
27 #define CONFIG_USB_MAX_CONTROLLER_COUNT         1
28
29 #define VIDEO_IO_OFFSET                         0
30 #define CONFIG_X86EMU_RAW_IO
31 #define CONFIG_CMD_BMP
32
33 #define CONFIG_ENV_SECT_SIZE            0x1000
34 #define CONFIG_ENV_OFFSET               0x006ef000
35
36 #undef CONFIG_BOOTARGS
37 #undef CONFIG_BOOTCOMMAND
38
39 #define CONFIG_BOOTARGS         \
40         "root=/dev/sda2 ro quiet"
41 #define CONFIG_BOOTCOMMAND      \
42         "load scsi 0:2 03000000 /boot/vmlinuz-${kernel-ver}-generic;"   \
43         "load scsi 0:2 04000000 /boot/initrd.img-${kernel-ver}-generic;" \
44         "run boot"
45
46 #undef CONFIG_EXTRA_ENV_SETTINGS
47 #define CONFIG_EXTRA_ENV_SETTINGS                               \
48         "kernel-ver=4.4.0-22\0"                                 \
49         "boot=zboot 03000000 0 04000000 ${filesize}\0"          \
50         "upd_uboot=tftp 100000 conga/u-boot.rom;"               \
51                 "sf probe;sf update 100000 0 800000;saveenv\0"
52
53 #define CONFIG_PREBOOT
54
55 #endif  /* __CONFIG_H */