| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 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 | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef __configs_chromeos_common_h__ | 7 #ifndef __configs_chromeos_common_h__ |
| 8 #define __configs_chromeos_common_h__ | 8 #define __configs_chromeos_common_h__ |
| 9 | 9 |
| 10 #include <asm/sizes.h> | 10 #include <asm/sizes.h> |
| 11 #include <config.h> | 11 #include <config.h> |
| 12 | 12 |
| 13 #include <configs/chromeos/firmware_layout.h> | 13 #include <configs/chromeos/firmware_layout.h> |
| 14 | 14 |
| 15 /* | 15 /* |
| 16 * QUOTE(m) will evaluate to a string version of the value of the macro m | 16 * QUOTE(m) will evaluate to a string version of the value of the macro m |
| 17 * passed in. The extra level of indirection here is to first evaluate the | 17 * passed in. The extra level of indirection here is to first evaluate the |
| 18 * macro m before applying the quoting operator. | 18 * macro m before applying the quoting operator. |
| 19 */ | 19 */ |
| 20 #define QUOTE_(m) #m | 20 #define QUOTE_(m) #m |
| 21 #define QUOTE(m) QUOTE_(m) | 21 #define QUOTE(m) QUOTE_(m) |
| 22 | 22 |
| 23 #define CONFIG_CHROMEOS | 23 #define CONFIG_CHROMEOS |
| 24 #define CONFIG_CMD_CROS_ROFW | 24 #define CONFIG_CMD_CROS_ROFW |
| 25 | 25 |
| 26 #define CONFIG_CMD_RUN | 26 #define CONFIG_CMD_RUN |
| 27 #define CONFIG_CMD_SOURCE | 27 #define CONFIG_CMD_SOURCE |
| 28 | 28 |
| 29 /* friendly debug environment */ | 29 /* friendly debug environment */ |
| 30 /* TODO(clchiou): Should now use Chrome OS developer config instead */ |
| 30 #ifdef VBOOT_DEBUG | 31 #ifdef VBOOT_DEBUG |
| 31 #define CONFIG_CMD_CROS | 32 #define CONFIG_CMD_CROS |
| 32 #define CONFIG_SYS_HUSH_PARSER | 33 #define CONFIG_SYS_HUSH_PARSER |
| 33 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " | 34 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " |
| 34 #endif | 35 #endif |
| 35 | 36 |
| 36 #define CONFIG_OF_LIBFDT 1 | 37 #define CONFIG_OF_LIBFDT 1 |
| 37 /* | 38 /* |
| 38 * The early kernel mapping on ARM currently only maps from the base of DRAM | 39 * The early kernel mapping on ARM currently only maps from the base of DRAM |
| 39 * to the end of the kernel image. The kernel is loaded at DRAM base + 0x8000. | 40 * to the end of the kernel image. The kernel is loaded at DRAM base + 0x8000. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 68 CONFIG_PLATFORM_EXTRAS_BOARD "\0" | 69 CONFIG_PLATFORM_EXTRAS_BOARD "\0" |
| 69 | 70 |
| 70 #define CONFIG_SYS_CBSIZE 512 | 71 #define CONFIG_SYS_CBSIZE 512 |
| 71 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ | 72 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ |
| 72 sizeof(CONFIG_SYS_PROMPT) + \ | 73 sizeof(CONFIG_SYS_PROMPT) + \ |
| 73 64) | 74 64) |
| 74 #define CONFIG_SYS_MAXARGS 64 | 75 #define CONFIG_SYS_MAXARGS 64 |
| 75 #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE) | 76 #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE) |
| 76 | 77 |
| 77 #endif /* __configs_chromeos_common_h__ */ | 78 #endif /* __configs_chromeos_common_h__ */ |
| OLD | NEW |