OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010, Google Inc. | 2 * Copyright 2010, Google Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 23 matching lines...) Expand all Loading... |
34 */ | 34 */ |
35 | 35 |
36 #ifndef __configs_chromeos_common_h__ | 36 #ifndef __configs_chromeos_common_h__ |
37 #define __configs_chromeos_common_h__ | 37 #define __configs_chromeos_common_h__ |
38 | 38 |
39 #include <asm/sizes.h> | 39 #include <asm/sizes.h> |
40 #include <config.h> | 40 #include <config.h> |
41 | 41 |
42 #define CONFIG_CHROMEOS | 42 #define CONFIG_CHROMEOS |
43 | 43 |
| 44 /* friendly debug environment */ |
| 45 #ifdef VBOOT_DEBUG |
| 46 #define CONFIG_CMD_CROS |
| 47 #define CONFIG_SYS_HUSH_PARSER |
| 48 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " |
| 49 #define CONFIG_CMD_MEMORY |
| 50 #define CONFIG_SYS_MEMTEST_START 0x0000 |
| 51 #define CONFIG_SYS_MEMTEST_END 0x1000 |
| 52 #endif |
| 53 |
44 #define CONFIG_CMDLINE_TAG 1 | 54 #define CONFIG_CMDLINE_TAG 1 |
45 | 55 |
46 #define CONFIG_ENV_IS_NOWHERE 1 | 56 #define CONFIG_ENV_IS_NOWHERE 1 |
47 #define CONFIG_ENV_SIZE SZ_128K | 57 #define CONFIG_ENV_SIZE SZ_128K |
48 #define CONFIG_ENV_OVERWRITE 1 | 58 #define CONFIG_ENV_OVERWRITE 1 |
49 | 59 |
50 #define CONFIG_SYS_MALLOC_LEN SZ_1M | 60 #define CONFIG_SYS_MALLOC_LEN SZ_1M |
51 #define CONFIG_SYS_GBL_DATA_SIZE 128 | 61 #define CONFIG_SYS_GBL_DATA_SIZE 128 |
52 | 62 |
53 #define CONFIG_BAUDRATE 115200 | 63 #define CONFIG_BAUDRATE 115200 |
(...skipping 22 matching lines...) Expand all Loading... |
76 #define CONFIG_AUTOCOMPLETE 1 | 86 #define CONFIG_AUTOCOMPLETE 1 |
77 | 87 |
78 #define CONFIG_SYS_CBSIZE 512 | 88 #define CONFIG_SYS_CBSIZE 512 |
79 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ | 89 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ |
80 sizeof(CONFIG_SYS_PROMPT) + \ | 90 sizeof(CONFIG_SYS_PROMPT) + \ |
81 64) | 91 64) |
82 #define CONFIG_SYS_MAXARGS 64 | 92 #define CONFIG_SYS_MAXARGS 64 |
83 #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE) | 93 #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE) |
84 | 94 |
85 #endif //__configs_chromeos_common_h__ | 95 #endif //__configs_chromeos_common_h__ |
OLD | NEW |