OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | |
3 * Use of this source code is governed by a BSD-style license that can be | |
4 * found in the LICENSE file. | |
5 */ | |
6 | |
7 #ifndef __configs_chromeos_common_h__ | |
8 #define __configs_chromeos_common_h__ | |
9 | |
10 #include <asm/sizes.h> | |
11 #include <config.h> | |
12 | |
13 /* | |
14 * QUOTE(m) will evaluate to a string version of the value of the macro m | |
15 * passed in. The extra level of indirection here is to first evaluate the | |
16 * macro m before applying the quoting operator. | |
17 */ | |
18 #define QUOTE_(m) #m | |
19 #define QUOTE(m) QUOTE_(m) | |
20 | |
21 #define CONFIG_CHROMEOS | |
22 | |
23 #define CONFIG_CMD_RUN | |
24 #define CONFIG_CMD_SOURCE | |
25 | |
26 #define CONFIG_OF_LIBFDT 1 | |
27 /* | |
28 * The early kernel mapping on ARM currently only maps from the base of DRAM | |
29 * to the end of the kernel image. The kernel is loaded at DRAM base + 0x8000. | |
30 * The early kernel pagetable uses DRAM base + 0x4000 to DRAM base + 0x8000, | |
31 * so that leaves DRAM base to DRAM base + 0x4000 available. | |
32 */ | |
33 #define CONFIG_SYS_BOOTMAPSZ 0x4000 | |
34 | |
35 #define CONFIG_CMDLINE_TAG 1 | |
36 | |
37 #define CONFIG_ENV_SIZE SZ_128K | |
38 #define CONFIG_ENV_OVERWRITE 1 | |
39 | |
40 #define CONFIG_SYS_MALLOC_LEN SZ_1M | |
41 #define CONFIG_SYS_GBL_DATA_SIZE 128 | |
42 | |
43 #define CONFIG_BAUDRATE 115200 | |
44 #define CONFIG_SYS_BAUDRATE_TABLE {4800, \ | |
45 9600, \ | |
46 19200, \ | |
47 38400, \ | |
48 57600, \ | |
49 115200} | |
50 | |
51 #define CONFIG_SYS_PROMPT "CrOS> " | |
52 | |
53 #define CONFIG_EXTRA_ENV_SETTINGS \ | |
54 CONFIG_EXTRA_ENV_SETTINGS_ARCH \ | |
55 CONFIG_EXTRA_ENV_SETTINGS_BOARD \ | |
56 "platform_extras=" \ | |
57 CONFIG_PLATFORM_EXTRAS_ARCH " " \ | |
58 CONFIG_PLATFORM_EXTRAS_BOARD "\0" | |
59 | |
60 #define CONFIG_SYS_CBSIZE 512 | |
61 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ | |
62 sizeof(CONFIG_SYS_PROMPT) + \ | |
63 64) | |
64 #define CONFIG_SYS_MAXARGS 64 | |
65 #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE) | |
66 | |
67 #endif /* __configs_chromeos_common_h__ */ | |
OLD | NEW |