2 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
4 * SPDX-License-Identifier: GPL-2.0+
8 * board/config.h - configuration options, board specific
14 #include <configs/x86-common.h>
16 #define CONFIG_SYS_MONITOR_LEN (1 << 20)
18 #ifndef CONFIG_INTERNAL_UART
19 /* Use BayTrail internal HS UART which is memory-mapped */
20 #undef CONFIG_SYS_NS16550_PORT_MAPPED
23 #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
27 #define CONFIG_SCSI_DEV_LIST \
28 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \
29 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT}
31 #undef CONFIG_USB_MAX_CONTROLLER_COUNT
32 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1
34 #define CONFIG_USB_HOST_ETHER
35 #define CONFIG_USB_ETHER_ASIX
36 #define CONFIG_USB_ETHER_SMSC95XX
37 #define CONFIG_USB_ETHER_MCS7830
38 #define CONFIG_USB_ETHER_RTL8152
40 #define VIDEO_IO_OFFSET 0
41 #define CONFIG_X86EMU_RAW_IO
42 #define CONFIG_CMD_BMP
44 #define CONFIG_ENV_SECT_SIZE 0x1000
45 #define CONFIG_ENV_OFFSET 0x006ef000
47 #undef CONFIG_BOOTARGS
48 #undef CONFIG_BOOTCOMMAND
50 #define CONFIG_BOOTARGS \
51 "root=/dev/sda1 ro quiet"
52 #define CONFIG_BOOTCOMMAND \
53 "load scsi 0:1 03000000 /boot/vmlinuz-${kernel-ver}-generic;" \
54 "load scsi 0:1 04000000 /boot/initrd.img-${kernel-ver}-generic;" \
57 #undef CONFIG_EXTRA_ENV_SETTINGS
58 #define CONFIG_EXTRA_ENV_SETTINGS \
59 "kernel-ver=4.4.0-24\0" \
60 "boot=zboot 03000000 0 04000000 ${filesize}\0" \
61 "upd_uboot=usb reset;tftp 100000 dfi/u-boot.rom;" \
62 "sf probe;sf update 100000 0 800000;saveenv\0"
64 #define CONFIG_PREBOOT
66 #endif /* __CONFIG_H */