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