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 #define CONFIG_BOARD_EARLY_INIT_F 18 #define CONFIG_ARCH_EARLY_INIT_R 19 #define CONFIG_ARCH_MISC_INIT 20 21 #define CONFIG_PCI_PNP 22 23 #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ 24 "stdout=serial\0" \ 25 "stderr=serial\0" 26 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} 30 31 #define CONFIG_MMC 32 #define CONFIG_SDHCI 33 #define CONFIG_GENERIC_MMC 34 #define CONFIG_MMC_SDMA 35 36 #undef CONFIG_USB_MAX_CONTROLLER_COUNT 37 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 38 39 #define VIDEO_IO_OFFSET 0 40 #define CONFIG_X86EMU_RAW_IO 41 #define CONFIG_CMD_BMP 42 43 #define CONFIG_ENV_SECT_SIZE 0x1000 44 #define CONFIG_ENV_OFFSET 0x007fe000 45 46 #undef CONFIG_BOOTARGS 47 #undef CONFIG_BOOTCOMMAND 48 49 #define CONFIG_BOOTARGS \ 50 "root=/dev/sda1 ro quiet" 51 #define CONFIG_BOOTCOMMAND \ 52 "load scsi 0:1 03000000 /boot/vmlinuz-4.2.0-26-generic;" \ 53 "load scsi 0:1 04000000 /boot/initrd.img-4.2.0-26-generic;" \ 54 "run boot" 55 56 #undef CONFIG_EXTRA_ENV_SETTINGS 57 #define CONFIG_EXTRA_ENV_SETTINGS \ 58 "boot=zboot 03000000 0 04000000 ${filesize}\0" \ 59 "upd_uboot=tftp 100000 conga/u-boot.rom;" \ 60 "sf probe;sf update 100000 0 7fe000\0" 61 62 #define CONFIG_PREBOOT 63 64 #endif /* __CONFIG_H */ 65