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

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

Issue 3548006: Tegra2: input: Add tegra keyboard support. (Closed) Base URL: http://git.chromium.org/git/u-boot.git
Patch Set: Removing static variable's zero init Created 10 years, 2 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/seaboard/Makefile ('k') | board/tegra2/seaboard/seaboard_kbc.c » ('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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 NV_UARTD_WRITE(SPR, 0x00); 218 NV_UARTD_WRITE(SPR, 0x00);
219 NV_UARTD_WRITE(IRDA_CSR, 0x00); 219 NV_UARTD_WRITE(IRDA_CSR, 0x00);
220 NV_UARTD_WRITE(ASR, 0x00); 220 NV_UARTD_WRITE(ASR, 0x00);
221 221
222 NV_UARTD_WRITE(IIR_FCR, 0x31); 222 NV_UARTD_WRITE(IIR_FCR, 0x31);
223 223
224 // Flush any old characters out of the RX FIFO. 224 // Flush any old characters out of the RX FIFO.
225 while (NvBlUartRxReadyD()) 225 while (NvBlUartRxReadyD())
226 (void)NvBlUartRxD(); 226 (void)NvBlUartRxD();
227 } 227 }
228
229 int drv_keyboard_init(void)
230 {
Tom Warren 2010/10/05 15:30:13 I was thinking more along the lines of your puttin
231 #ifdef CONFIG_TEGRA2_KEYBOARD
232 tegra_kbc_init();
233 #endif
234 }
OLDNEW
« no previous file with comments | « board/tegra2/seaboard/Makefile ('k') | board/tegra2/seaboard/seaboard_kbc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698