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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 } | |
| OLD | NEW |