Print this page
bcm2835: use the real uart instead of the mini-uart
The real uart is more capable. We'll want to use it for the real console
eventually anyway, so let's bite the bullet now when no one will really
notice. (For comparison, the Linux kernel uses the real uart and totally
lacks a driver for the miniuart.)
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/armv6/bcm2835/Makefile.files
+++ new/usr/src/uts/armv6/bcm2835/Makefile.files
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 13 # Copyright (c) 2013, Joyent, Inc. All rights reserved.
14 14 # Copyright (c) 2015, Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 15 #
16 16
17 17 BCM2835_OBJS = \
18 18 bcm2835_bsmdep.o \
19 + bcm2835_uart.o \
19 20 boot_console.o \
20 - locore.o \
21 - miniuart.o
21 + locore.o
22 22
23 23 BCM2835_LOADER_OBJS = \
24 24 bcm2835_ldep.o
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX