Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: board/tegra2/generic/board.c

Issue 6623073: Chromium: arm: tegra: Add NAND support (Closed) Base URL: http://git.chromium.org/git/u-boot-next.git@chromeos-v2010.09
Patch Set: Remove some unexpected lines of code and files Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « board/tegra2/generic/Makefile ('k') | board/tegra2/generic/nand/tegra2_nand.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_TEGRA2_NAND
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
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 }
OLDNEW
« no previous file with comments | « board/tegra2/generic/Makefile ('k') | board/tegra2/generic/nand/tegra2_nand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698