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_ST15_RECOVERY_H |
| 38 #define __CONFIGS_CHROMEOS_ST15_RECOVERY_H |
| 39 |
| 40 /* |
| 41 * Configure the LCD for recovery mode. |
| 42 * LCDC framebuffer is at MM HEAP1 in SMI |
| 43 * Note: Update as memory map changes |
| 44 */ |
| 45 /* Commented out. LCD not working on ST1.5. |
| 46 * Enable it once working. |
| 47 */ |
| 48 #if 0 |
| 49 #define CONFIG_LCD |
| 50 #define CONFIG_QSD8X50_LCDC |
| 51 #endif |
| 52 |
| 53 #define LCD_BPP LCD_COLOR24 |
| 54 |
| 55 #ifdef CONFIG_QSD8X50_LCDC |
| 56 # define LCDC_FB_ADDR 0x02a00000 |
| 57 # define LCDC_FB_SIZE 0x00400000 |
| 58 |
| 59 /* 1366x768x24 @ 60 Hz */ |
| 60 # define LCDC_vl_col 1366 |
| 61 # define LCDC_vl_row 768 |
| 62 # define LCDC_vl_sync_width 1366 |
| 63 # define LCDC_vl_sync_height 768 |
| 64 # define LCDC_vl_hbp 80 |
| 65 # define LCDC_vl_hfp 20 |
| 66 # define LCDC_vl_vbp 22 |
| 67 # define LCDC_vl_vfp 1 |
| 68 # define LCDC_vl_hsync_width 60 |
| 69 # define LCDC_vl_vsync_width 3 |
| 70 |
| 71 # define LCD_MD_VAL_MHZ 0x1CF969FF //74.17 MHZ |
| 72 # define LCD_NS_VAL_MHZ 0x86F81B49 //74.17 MHZ |
| 73 # define LCD_CLK_PCOM_MHZ 74250000 |
| 74 #endif |
| 75 |
| 76 /* |
| 77 * MMC/SD card |
| 78 */ |
| 79 #define CONFIG_MMC |
| 80 #define CONFIG_DOS_PARTITION |
| 81 |
| 82 #include <configs/chromeos/st15/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_FAT |
| 107 #define CONFIG_CMD_EXT2 |
| 108 |
| 109 /* Commented out. BMP needs LCD. LCD is not working. |
| 110 * Enable once LCD is working. |
| 111 */ |
| 112 #if 0 |
| 113 #define CONFIG_CMD_BMP |
| 114 #endif |
| 115 |
| 116 #define CONFIG_CMD_NAND |
| 117 #define CONFIG_CMD_RAMCONFIG |
| 118 #define CONFIG_CMD_GETTIME |
| 119 #define CONFIG_CMD_NPART |
| 120 |
| 121 #define CONFIG_DYNAMIC_INODE_SIZE |
| 122 |
| 123 #endif //__CONFIGS_CHROMEOS_ST15_RECOVERY_H |
OLD | NEW |