OLD | NEW |
1 /* Lattice Mico32 UART model. | 1 /* Lattice Mico32 UART model. |
2 Contributed by Jon Beniston <jon@beniston.com> | 2 Contributed by Jon Beniston <jon@beniston.com> |
3 | 3 |
4 Copyright (C) 2009-2012 Free Software Foundation, Inc. | 4 Copyright (C) 2009-2013 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GDB. | 6 This file is part of GDB. |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
11 (at your option) any later version. | 11 (at your option) any later version. |
12 | 12 |
13 This program is distributed in the hope that it will be useful, | 13 This program is distributed in the hope that it will be useful, |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 uart->mcr = 0; | 308 uart->mcr = 0; |
309 uart->lsr = LM32_UART_LSR_TX_RDY; | 309 uart->lsr = LM32_UART_LSR_TX_RDY; |
310 uart->msr = 0; | 310 uart->msr = 0; |
311 uart->div = 0; /* By setting to zero, characters are output imm
ediately. */ | 311 uart->div = 0; /* By setting to zero, characters are output imm
ediately. */ |
312 } | 312 } |
313 | 313 |
314 const struct hw_descriptor dv_lm32uart_descriptor[] = { | 314 const struct hw_descriptor dv_lm32uart_descriptor[] = { |
315 {"lm32uart", lm32uart_finish,}, | 315 {"lm32uart", lm32uart_finish,}, |
316 {NULL}, | 316 {NULL}, |
317 }; | 317 }; |
OLD | NEW |