Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * (C) Copyright 2010 | 2 * (C) Copyright 2010 |
| 3 * NVIDIA Corporation <www.nvidia.com> | 3 * NVIDIA Corporation <www.nvidia.com> |
| 4 * | 4 * |
| 5 * See file CREDITS for list of people who contributed to this | 5 * See file CREDITS for list of people who contributed to this |
| 6 * project. | 6 * project. |
| 7 * | 7 * |
| 8 * This program is free software; you can redistribute it and/or | 8 * This program is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU General Public License as | 9 * modify it under the terms of the GNU General Public License as |
| 10 * published by the Free Software Foundation; either version 2 of | 10 * published by the Free Software Foundation; either version 2 of |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 67 #define NvUSBx_1 USB_EHCI_TEGRA_BASE_ADDR_USB1 | 67 #define NvUSBx_1 USB_EHCI_TEGRA_BASE_ADDR_USB1 |
| 68 #define NvUSBx_2 0 | 68 #define NvUSBx_2 0 |
| 69 #define NvUSBx_3 0 | 69 #define NvUSBx_3 0 |
| 70 | 70 |
| 71 /* LCD Settings */ | 71 /* LCD Settings */ |
| 72 #ifdef CONFIG_LCD | 72 #ifdef CONFIG_LCD |
| 73 #define CONFIG_LCD_vl_col 1024 | 73 #define CONFIG_LCD_vl_col 1024 |
| 74 #define CONFIG_LCD_vl_row 600 | 74 #define CONFIG_LCD_vl_row 600 |
| 75 #endif | 75 #endif |
| 76 | 76 |
| 77 #define CONFIG_TEGRA2_NAND_HYNIX_HY27UF4G2B 1 | |
| 78 /* Set clock divisor | |
| 79 * 7 bits of D and 1 bit of H | |
| 80 * divisor= (DDDDDDD + 1) + (H x 0.5) | |
| 81 * clock = original clock / divisor | |
| 82 * 6 means /4 */ | |
| 83 #define CONFIG_NAND_CLK_DIVISOR_DDDDDDDH 6 | |
| 84 | |
| 77 #define CONFIG_TEGRA2_PINMUX_DISPLAY_HARMONY \ | 85 #define CONFIG_TEGRA2_PINMUX_DISPLAY_HARMONY \ |
| 78 PINMUX(LCSN, DISPLAYA, PULL_UP, TRISTATE) \ | 86 PINMUX(LCSN, DISPLAYA, PULL_UP, TRISTATE) \ |
| 79 PINMUX(LD0, DISPLAYA, PULL_DOWN, NORMAL) \ | 87 PINMUX(LD0, DISPLAYA, PULL_DOWN, NORMAL) \ |
| 80 PINMUX(LD1, DISPLAYA, PULL_DOWN, NORMAL) \ | 88 PINMUX(LD1, DISPLAYA, PULL_DOWN, NORMAL) \ |
| 81 PINMUX(LD10, DISPLAYA, PULL_DOWN, NORMAL) \ | 89 PINMUX(LD10, DISPLAYA, PULL_DOWN, NORMAL) \ |
| 82 PINMUX(LD11, DISPLAYA, PULL_DOWN, NORMAL) \ | 90 PINMUX(LD11, DISPLAYA, PULL_DOWN, NORMAL) \ |
| 83 PINMUX(LD12, DISPLAYA, PULL_DOWN, NORMAL) \ | 91 PINMUX(LD12, DISPLAYA, PULL_DOWN, NORMAL) \ |
| 84 PINMUX(LD13, DISPLAYA, PULL_DOWN, NORMAL) \ | 92 PINMUX(LD13, DISPLAYA, PULL_DOWN, NORMAL) \ |
| 85 PINMUX(LD14, DISPLAYA, PULL_DOWN, NORMAL) \ | 93 PINMUX(LD14, DISPLAYA, PULL_DOWN, NORMAL) \ |
| 86 PINMUX(LD15, DISPLAYA, PULL_DOWN, NORMAL) \ | 94 PINMUX(LD15, DISPLAYA, PULL_DOWN, NORMAL) \ |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 149 #define TEGRA_PANEL_MODE \ | 157 #define TEGRA_PANEL_MODE \ |
| 150 TEGRA_PANEL(pclk, 79500000) \ | 158 TEGRA_PANEL(pclk, 79500000) \ |
| 151 TEGRA_PANEL(h_ref_to_sync, 4) \ | 159 TEGRA_PANEL(h_ref_to_sync, 4) \ |
| 152 TEGRA_PANEL(v_ref_to_sync, 2) \ | 160 TEGRA_PANEL(v_ref_to_sync, 2) \ |
| 153 TEGRA_PANEL(h_sync_width, 136) \ | 161 TEGRA_PANEL(h_sync_width, 136) \ |
| 154 TEGRA_PANEL(v_sync_width, 4) \ | 162 TEGRA_PANEL(v_sync_width, 4) \ |
| 155 TEGRA_PANEL(h_back_porch, 138) \ | 163 TEGRA_PANEL(h_back_porch, 138) \ |
| 156 TEGRA_PANEL(v_back_porch, 21) \ | 164 TEGRA_PANEL(v_back_porch, 21) \ |
| 157 TEGRA_PANEL(h_front_porch, 34) \ | 165 TEGRA_PANEL(h_front_porch, 34) \ |
| 158 TEGRA_PANEL(v_front_porch, 4) | 166 TEGRA_PANEL(v_front_porch, 4) |
| 159 | |
|
robotboy
2011/03/18 18:17:32
Why remove this line?
| |
| 160 #endif /* __CONFIG_H */ | 167 #endif /* __CONFIG_H */ |
| OLD | NEW |