diff options
author | ngie <ngie@FreeBSD.org> | 2015-12-29 19:56:26 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-12-29 19:56:26 +0000 |
commit | 48b72481dba08c5185c1dd6a70b82b326be43d6b (patch) | |
tree | bfa4f047c73b138c59732a37297737fa1ffd3e91 /sys/mips/rt305x/uart_cpu_rt305x.c | |
parent | f8c5cd12c37a92500da3f42f1d25bae9cc70e30a (diff) | |
parent | c0ae58548ada98f553239a091b8764ea9e1b474b (diff) | |
download | FreeBSD-src-48b72481dba08c5185c1dd6a70b82b326be43d6b.zip FreeBSD-src-48b72481dba08c5185c1dd6a70b82b326be43d6b.tar.gz |
MFhead @ r292618
Diffstat (limited to 'sys/mips/rt305x/uart_cpu_rt305x.c')
-rw-r--r-- | sys/mips/rt305x/uart_cpu_rt305x.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/mips/rt305x/uart_cpu_rt305x.c b/sys/mips/rt305x/uart_cpu_rt305x.c index b9225a1..345db46 100644 --- a/sys/mips/rt305x/uart_cpu_rt305x.c +++ b/sys/mips/rt305x/uart_cpu_rt305x.c @@ -77,6 +77,10 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) uart_bus_space_io = NULL; uart_bus_space_mem = mips_bus_space_generic; +#ifdef RT305X_USE_UART + di->bas.bsh = MIPS_PHYS_TO_KSEG1(UART_BASE); +#else di->bas.bsh = MIPS_PHYS_TO_KSEG1(UARTLITE_BASE); +#endif return (0); } |