summaryrefslogtreecommitdiff
path: root/include/configs/chromeos_seaboard_common.h
blob: bc91aba04201c24734fc02da0e64c01b25ba5ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef __configs_chromeos_seaboard_common_h__
#define __configs_chromeos_seaboard_common_h__

#include <configs/seaboard.h>

#define CONFIG_CHROMEOS

/*
 * This is the default kernel command line to a Chrome OS kernel. An ending
 * space character helps us concatenate more arguments.
 */
#define CHROMEOS_BOOTARGS "cros_vboot " CONFIG_BOOTARGS " "

/*
 * Use the fdt to decide whether to load the environment early in start-up
 * (even before we decide if we're entering developer mode).
 */
#define CONFIG_OF_LOAD_ENVIRONMENT

/* for security reason, Chrome OS kernel must be loaded to specific location */
#define CONFIG_CHROMEOS_KERNEL_LOADADDR	0x00100000
#define CONFIG_CHROMEOS_KERNEL_BUFSIZE	0x00800000

/* store the VbNvContext in the first block of the disk */
#define CHROMEOS_VBNVCONTEXT_LBA	0

/* graphics display */
#define CONFIG_LCD_BMP_RLE8
#define CONFIG_LZMA
#define CONFIG_SPLASH_SCREEN

/* TODO hard-coded mmc device number here */
#define DEVICE_TYPE			"mmc"
#define MMC_INTERNAL_DEVICE		0
#define MMC_EXTERNAL_DEVICE		1

#define CONFIG_OF_UPDATE_FDT_BEFORE_BOOT

#endif /* __configs_chromeos_seaboard_common_h__ */