OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (c) 2010, Code Aurora Forum. All rights reserved. | |
3 * Copyright 2010, Google Inc. | |
4 * All rights reserved. | |
5 * | |
6 * Redistribution and use in source and binary forms, with or without | |
7 * modification, are permitted provided that the following conditions are | |
8 * met: | |
9 * | |
10 * * Redistributions of source code must retain the above copyright | |
11 * notice, this list of conditions and the following disclaimer. | |
12 * * Redistributions in binary form must reproduce the above | |
13 * copyright notice, this list of conditions and the following disclaimer | |
14 * in the documentation and/or other materials provided with the | |
15 * distribution. | |
16 * * Neither the name of Google Inc. nor the names of its | |
17 * contributors may be used to endorse or promote products derived from | |
18 * this software without specific prior written permission. | |
19 * | |
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
31 * | |
32 * Alternatively, this software may be distributed under the terms of the | |
33 * GNU General Public License ("GPL") version 2 as published by the Free | |
34 * Software Foundation. | |
35 */ | |
36 | |
37 #ifndef __CONFIGS_CHROMEOS_QRDC_RECOVERY_H | |
38 #define __CONFIGS_CHROMEOS_QRDC_RECOVERY_H | |
39 | |
40 #define CONFIG_CMDLINE_TAG | |
41 #define CONFIG_SETUP_MEMORY_TAGS | |
42 | |
43 /* | |
44 * Configure the LCD for recovery mode. | |
45 * LCDC framebuffer is at MM HEAP1 in SMI | |
46 * Note: Update as memory map changes | |
47 */ | |
48 //#define CONFIG_LCD | |
49 //#define CONFIG_SYS_WHITE_ON_BLACK | |
50 //#define CONFIG_MSM8X60_LCDC | |
51 | |
52 #define LCD_BPP LCD_COLOR24 | |
53 | |
54 #ifdef CONFIG_MSM8X60_LCDC | |
55 # define LCDC_FB_ADDR 0x02b00000 | |
56 # define LCDC_FB_SIZE 0x00400000 | |
57 | |
58 /* 1024x600x24 @ 60 Hz */ | |
59 # define LCDC_vl_col 1024 | |
60 # define LCDC_vl_row 600 | |
61 # define LCDC_vl_sync_width 1024 | |
62 # define LCDC_vl_sync_height 600 | |
63 # define LCDC_vl_hbp 80 | |
64 # define LCDC_vl_hfp 20 | |
65 # define LCDC_vl_vbp 22 | |
66 # define LCDC_vl_vfp 1 | |
67 # define LCDC_vl_hsync_width 40 | |
68 # define LCDC_vl_vsync_width 3 | |
69 | |
70 # define LCD_MD_VAL_MHZ 0x1CF969FF //74.17 MHZ | |
71 # define LCD_NS_VAL_MHZ 0x86F81B49 //74.17 MHZ | |
72 # define LCD_CLK_PCOM_MHZ 74250000 | |
73 #endif | |
74 | |
75 /* | |
76 * MMC/SD card | |
77 */ | |
78 #define CONFIG_MMC | |
79 #define CONFIG_EFI_PARTITION | |
80 //#define CONFIG_DOS_PARTITION | |
81 | |
82 #include <configs/chromeos/qrdc/common.h> | |
83 | |
84 /* | |
85 * What monitor functions should be included | |
86 */ | |
87 #define CONFIG_CMD_AUTOSCRIPT /* Autoscript Support */ | |
88 #define CONFIG_CMD_BDI /* bdinfo */ | |
89 #define CONFIG_CMD_BOOTD /* bootd */ | |
90 #define CONFIG_CMD_CONSOLE /* coninfo */ | |
91 #define CONFIG_CMD_ECHO /* echo arguments */ | |
92 #define CONFIG_CMD_SAVEENV /* saveenv */ | |
93 #define CONFIG_CMD_FPGA /* FPGA configuration Support */ | |
94 #define CONFIG_CMD_IMI /* iminfo */ | |
95 #define CONFIG_CMD_ITEST /* Integer (and string) test */ | |
96 #define CONFIG_CMD_LOADB /* loadb */ | |
97 #define CONFIG_CMD_LOADS /* loads */ | |
98 #define CONFIG_CMD_MEMORY /* md mm nm mw cp cmp crc base loop mtest */ | |
99 #define CONFIG_CMD_MISC /* Misc functions like sleep etc*/ | |
100 #define CONFIG_CMD_RUN /* run command in env variable */ | |
101 #define CONFIG_CMD_SETGETDCR /* DCR support on 4xx */ | |
102 #define CONFIG_CMD_XIMG /* Load part of Multi Image */ | |
103 #define CONFIG_CMD_DHCP | |
104 #define CONFIG_CMD_PING | |
105 #define CONFIG_CMD_MMC | |
106 #define CONFIG_CMD_EXT2 | |
107 | |
108 | |
109 #define CONFIG_CMD_RAMCONFIG | |
110 #define CONFIG_CMD_GETTIME | |
111 #define CONFIG_CMD_NPART | |
112 | |
113 #define CONFIG_DYNAMIC_INODE_SIZE | |
114 | |
115 #endif //__CONFIGS_CHROMEOS_QRDC_RECOVERY_H | |
OLD | NEW |