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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 165 * hardware. Many pins need to be moved from protect to primary | 165 * hardware. Many pins need to be moved from protect to primary |
| 166 * mode. | 166 * mode. |
| 167 */ | 167 */ |
| 168 void set_muxconf_regs(void) | 168 void set_muxconf_regs(void) |
| 169 { | 169 { |
| 170 } | 170 } |
| 171 | 171 |
| 172 /*************************************************************************** | 172 /*************************************************************************** |
| 173 * Routines to be provided by corresponding device drivers. | 173 * Routines to be provided by corresponding device drivers. |
| 174 ***************************************************************************/ | 174 ***************************************************************************/ |
| 175 #ifndef CONFIG_NAND_TEGRA2 | |
|
Tom Warren
2011/03/08 20:43:08
This should be CONFIG_TEGRA2_NAND, just like _SPI,
| |
| 175 int board_nand_init(struct nand_chip *nand) | 176 int board_nand_init(struct nand_chip *nand) |
| 176 { | 177 { |
| 177 return -1; | 178 return -1; |
| 178 } | 179 } |
| 180 #endif | |
| 179 | 181 |
| 180 /*************************************************************************** | 182 /*************************************************************************** |
| 181 * Routines for UART initialization. | 183 * Routines for UART initialization. |
| 182 ***************************************************************************/ | 184 ***************************************************************************/ |
| 183 void | 185 void |
| 184 NvBlAvpClockSetDivider(NvBool Enable, NvU32 Dividened, NvU32 Divisor) | 186 NvBlAvpClockSetDivider(NvBool Enable, NvU32 Dividened, NvU32 Divisor) |
| 185 { | 187 { |
| 186 NvU32 val; | 188 NvU32 val; |
| 187 | 189 |
| 188 if (Enable) | 190 if (Enable) |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 726 RegVal= readl(NV_ADDRESS_MAP_USB3_BASE+UTMIP_XCVR_CFG1); | 728 RegVal= readl(NV_ADDRESS_MAP_USB3_BASE+UTMIP_XCVR_CFG1); |
| 727 RegVal &= ~(Bit4+Bit2+Bit0); | 729 RegVal &= ~(Bit4+Bit2+Bit0); |
| 728 writel(RegVal, NV_ADDRESS_MAP_USB3_BASE+UTMIP_XCVR_CFG1); | 730 writel(RegVal, NV_ADDRESS_MAP_USB3_BASE+UTMIP_XCVR_CFG1); |
| 729 | 731 |
| 730 #if ((LINUX_MACH_TYPE == MACH_TYPE_SEABOARD) || \ | 732 #if ((LINUX_MACH_TYPE == MACH_TYPE_SEABOARD) || \ |
| 731 (LINUX_MACH_TYPE == MACH_TYPE_KAEN) || \ | 733 (LINUX_MACH_TYPE == MACH_TYPE_KAEN) || \ |
| 732 (LINUX_MACH_TYPE == MACH_TYPE_AEBL)) | 734 (LINUX_MACH_TYPE == MACH_TYPE_AEBL)) |
| 733 usb1_set_host_mode(); | 735 usb1_set_host_mode(); |
| 734 #endif | 736 #endif |
| 735 } | 737 } |
| OLD | NEW |