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

Side by Side Diff: include/configs/tegra2_seaboard.h

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 folder HY27UF084G2B, move timing value to config file. 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 | « include/configs/tegra2_harmony.h ('k') | no next file » | 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 0, 0, 0, 0, 0, 0, 0, 0, \ 158 0, 0, 0, 0, 0, 0, 0, 0, \
159 0, 0, 0, 0, 0, 0, 0, 0, \ 159 0, 0, 0, 0, 0, 0, 0, 0, \
160 0, 0, 0, 0, 0, 0, 0, 0, \ 160 0, 0, 0, 0, 0, 0, 0, 0, \
161 0, 0, 0, 0, 0, 0, 0, 0, \ 161 0, 0, 0, 0, 0, 0, 0, 0, \
162 0, '\'', 0, '-', '+', '.', 0, 0, \ 162 0, '\'', 0, '-', '+', '.', 0, 0, \
163 0, 0, 0, 0, 0, 0, 0, 0, \ 163 0, 0, 0, 0, 0, 0, 0, 0, \
164 0, 0, 0, 0, 0, 0, 0, 0, \ 164 0, 0, 0, 0, 0, 0, 0, 0, \
165 0, 0, 0, 0, 0, 0, 0, 0, \ 165 0, 0, 0, 0, 0, 0, 0, 0, \
166 0, 0, 0, 0, '?', 0, 0, 0 166 0, 0, 0, 0, '?', 0, 0, 0
167 167
168 /* For HYNIX HY27UF4G2B
Tom Warren 2011/03/17 16:28:49 The NAND BCT CFG files for Seaboard that I've been
169 * Frequence output of PLLP_OUT0 is set by BOOTROM to 216MHz
170 * to CLK_RST_CONTROLLER_PLLP_BASE_0,
171 * 216MHz / divisor 4 = 54MHZ
172 * 1 clock = 18.5 ns = NAND_CLK_PERIOD
173 * TRP_RESP_CNT=n, max(tRP, tREA)= max(12ns, 20ns)= 20ns for non-EDO mode
174 * bit 31-28=n=1, generated timing= (n+1) * NAND_CLK_PERIOD= (1+1)* 18.5
175 * TWB_CNT bit 27-24=n, tWB = 100ns = (n+1)* 18.5, so n= 5 (bit 27-24)
176 * similar way for other fields, please refer to reference manual
177 */
178 /* Value to be set to NAND_TIMING_0 register, address=70008014h */
179 #define CONFIG_TEGRA2_NAND_TIMING 0x15040001
180 /* Value to be set to NAND_TIMING2_0 register, address=7000801Ch */
181 #define CONFIG_TEGRA2_NAND_TIMING2 0x01
182 /* tR = Time taken for data transfer from NAND cell to NAND register,
183 * in micro-second */
184 #define CONFIG_TEGRA2_NAND_tR_US 25
Tom Warren 2011/03/17 16:28:49 Where is this used?
168 #endif /* __CONFIG_H */ 185 #endif /* __CONFIG_H */
OLDNEW
« no previous file with comments | « include/configs/tegra2_harmony.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698