1cc285c56SSimon Glass /*
2cc285c56SSimon Glass  *
3cc285c56SSimon Glass  * Copyright (c) 2015 Google, Inc
4cc285c56SSimon Glass  *
5cc285c56SSimon Glass  * SPDX-License-Identifier:	GPL-2.0+
6cc285c56SSimon Glass  */
7cc285c56SSimon Glass 
8cc285c56SSimon Glass #ifndef _X86_CHROMEBOOK_H
9cc285c56SSimon Glass #define _X86_CHROMEBOOK_H
10cc285c56SSimon Glass 
11cc285c56SSimon Glass #define CONFIG_SYS_MONITOR_LEN			(1 << 20)
12cc285c56SSimon Glass 
13cc285c56SSimon Glass #define CONFIG_BOARD_EARLY_INIT_F
14cc285c56SSimon Glass #define CONFIG_MISC_INIT_R
15cc285c56SSimon Glass 
16cc285c56SSimon Glass #define CONFIG_X86_MRC_ADDR			0xfffa0000
17cc285c56SSimon Glass #define CONFIG_CACHE_MRC_SIZE_KB		512
18cc285c56SSimon Glass 
19cc285c56SSimon Glass #define CONFIG_SCSI_DEV_LIST	\
20cc285c56SSimon Glass 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_NM10_AHCI}, \
21cc285c56SSimon Glass 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_COUGARPOINT_AHCI_MOBILE}, \
22cc285c56SSimon Glass 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_COUGARPOINT_AHCI_SERIES6}, \
23cc285c56SSimon Glass 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PANTHERPOINT_AHCI_MOBILE}, \
24cc285c56SSimon Glass 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_AHCI}
25cc285c56SSimon Glass 
26cc285c56SSimon Glass #define CONFIG_PCI_MEM_BUS	0xe0000000
27cc285c56SSimon Glass #define CONFIG_PCI_MEM_PHYS	CONFIG_PCI_MEM_BUS
28cc285c56SSimon Glass #define CONFIG_PCI_MEM_SIZE	0x10000000
29cc285c56SSimon Glass 
30cc285c56SSimon Glass #define CONFIG_PCI_PREF_BUS	0xd0000000
31cc285c56SSimon Glass #define CONFIG_PCI_PREF_PHYS	CONFIG_PCI_PREF_BUS
32cc285c56SSimon Glass #define CONFIG_PCI_PREF_SIZE	0x10000000
33cc285c56SSimon Glass 
34cc285c56SSimon Glass #define CONFIG_PCI_IO_BUS	0x1000
35cc285c56SSimon Glass #define CONFIG_PCI_IO_PHYS	CONFIG_PCI_IO_BUS
36cc285c56SSimon Glass #define CONFIG_PCI_IO_SIZE	0xefff
37cc285c56SSimon Glass 
38cc285c56SSimon Glass #define CONFIG_PCI_PNP
39cc285c56SSimon Glass 
40cc285c56SSimon Glass #define CONFIG_BIOSEMU
41cc285c56SSimon Glass #define VIDEO_IO_OFFSET				0
42cc285c56SSimon Glass #define CONFIG_X86EMU_RAW_IO
43cc285c56SSimon Glass 
44cc285c56SSimon Glass #define CONFIG_ARCH_EARLY_INIT_R
45cc285c56SSimon Glass 
46cc285c56SSimon Glass #undef CONFIG_ENV_IS_NOWHERE
47cc285c56SSimon Glass #undef CONFIG_ENV_SIZE
48cc285c56SSimon Glass #define CONFIG_ENV_SIZE			0x1000
49cc285c56SSimon Glass #define CONFIG_ENV_SECT_SIZE		0x1000
50cc285c56SSimon Glass #define CONFIG_ENV_IS_IN_SPI_FLASH
51cc285c56SSimon Glass #define CONFIG_ENV_OFFSET		0x003f8000
52cc285c56SSimon Glass 
53*6b44ae6bSSimon Glass #define CONFIG_STD_DEVICES_SETTINGS     "stdin=usbkbd,i8042-kbd,serial\0" \
54cc285c56SSimon Glass 					"stdout=vga,serial\0" \
55cc285c56SSimon Glass 					"stderr=vga,serial\0"
56cc285c56SSimon Glass 
57cc285c56SSimon Glass #endif
58