| 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 #define CONFIG_LCD | |
| 46 #define CONFIG_SYS_WHITE_ON_BLACK | |
| 47 #define CONFIG_QSD8X50_LCDC | |
| 48 | |
| 49 #define LCD_BPP LCD_COLOR24 | |
| 50 | |
| 51 #ifdef CONFIG_QSD8X50_LCDC | |
| 52 # define LCDC_FB_ADDR 0x02b00000 | |
| 53 # define LCDC_FB_SIZE 0x00400000 | |
| 54 | |
| 55 /* 1366x768x24 @ 60 Hz */ | |
| 56 # define LCDC_vl_col 1366 | |
| 57 # define LCDC_vl_row 768 | |
| 58 # define LCDC_vl_sync_width 1366 | |
| 59 # define LCDC_vl_sync_height 768 | |
| 60 # define LCDC_vl_hbp 80 | |
| 61 # define LCDC_vl_hfp 20 | |
| 62 # define LCDC_vl_vbp 22 | |
| 63 # define LCDC_vl_vfp 1 | |
| 64 # define LCDC_vl_hsync_width 40 | |
| 65 # define LCDC_vl_vsync_width 3 | |
| 66 | |
| 67 # define LCD_MD_VAL_MHZ 0x1CF969FF //74.17 MHZ | |
| 68 # define LCD_NS_VAL_MHZ 0x86F81B49 //74.17 MHZ | |
| 69 # define LCD_CLK_PCOM_MHZ 74250000 | |
| 70 #endif | |
| 71 | |
| 72 /* | |
| 73 * MMC/SD card | |
| 74 */ | |
| 75 #define CONFIG_MMC | |
| 76 #define CONFIG_EFI_PARTITION | |
| 77 | |
| 78 #include <configs/chromeos/st15/common.h> | |
| 79 | |
| 80 /* | |
| 81 * What monitor functions should be included | |
| 82 */ | |
| 83 #define CONFIG_CMD_AUTOSCRIPT /* Autoscript Support */ | |
| 84 #define CONFIG_CMD_BDI /* bdinfo */ | |
| 85 #define CONFIG_CMD_BOOTD /* bootd */ | |
| 86 #define CONFIG_CMD_CONSOLE /* coninfo */ | |
| 87 #define CONFIG_CMD_ECHO /* echo arguments */ | |
| 88 #define CONFIG_CMD_SAVEENV /* saveenv */ | |
| 89 #define CONFIG_CMD_FPGA /* FPGA configuration Support */ | |
| 90 #define CONFIG_CMD_IMI /* iminfo */ | |
| 91 #define CONFIG_CMD_ITEST /* Integer (and string) test */ | |
| 92 #define CONFIG_CMD_LOADB /* loadb */ | |
| 93 #define CONFIG_CMD_LOADS /* loads */ | |
| 94 #define CONFIG_CMD_MEMORY /* md mm nm mw cp cmp crc base loop mtest */ | |
| 95 #define CONFIG_CMD_MISC /* Misc functions like sleep etc*/ | |
| 96 #define CONFIG_CMD_RUN /* run command in env variable */ | |
| 97 #define CONFIG_CMD_SETGETDCR /* DCR support on 4xx */ | |
| 98 #define CONFIG_CMD_XIMG /* Load part of Multi Image */ | |
| 99 #define CONFIG_CMD_DHCP | |
| 100 #define CONFIG_CMD_PING | |
| 101 #define CONFIG_CMD_MMC | |
| 102 #define CONFIG_CMD_FAT | |
| 103 #define CONFIG_CMD_EXT2 | |
| 104 | |
| 105 #define CONFIG_CMD_BMP | |
| 106 | |
| 107 #define CONFIG_CMD_NAND | |
| 108 #define CONFIG_CMD_RAMCONFIG | |
| 109 #define CONFIG_CMD_GETTIME | |
| 110 #define CONFIG_CMD_NPART | |
| 111 | |
| 112 #define CONFIG_DYNAMIC_INODE_SIZE | |
| 113 | |
| 114 #endif //__CONFIGS_CHROMEOS_ST15_RECOVERY_H | |
| OLD | NEW |