Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/conf XU4 FDT sscon



details:   https://anonhg.NetBSD.org/src/rev/385562a89a78
branches:  trunk
changeset: 342355:385562a89a78
user:      marty <marty%NetBSD.org@localhost>
date:      Thu Dec 17 22:40:49 2015 +0000

description:
XU4 FDT sscon

This is a mess and I don't understand why part of it works, but it passes
the basic test.

There has to be some better way to get the info that I'm grabbing from the
exynos_uarts[] array.

I'm not sure how to deal with VA != PA when the DTB contains physical rather
than virtual addresses. This is going to be an issue for all of the drivers.

diffstat:

 sys/arch/evbarm/conf/EXYNOS |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 4626acfb57bb -r 385562a89a78 sys/arch/evbarm/conf/EXYNOS
--- a/sys/arch/evbarm/conf/EXYNOS       Thu Dec 17 22:39:37 2015 +0000
+++ b/sys/arch/evbarm/conf/EXYNOS       Thu Dec 17 22:40:49 2015 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: EXYNOS,v 1.1 2015/12/15 04:38:30 marty Exp $
+#      $NetBSD: EXYNOS,v 1.2 2015/12/17 22:40:49 marty Exp $
 #
 #      ODROID-XU -- ODROID-XU4 Exynos5422 based kernel
 #
@@ -216,8 +216,8 @@
 exy5422clk0    at exyo0                        # Exynos5422 clock controller
 
 # Integrated Samsung UARTs
-#sscom*                at exyo0  port ?                # UART ?
-sscom2         at exyo0  port 2                # UART2
+sscom*         at fdt?                         # UART ?
+#sscom2                at fdt?                         # console
 
 # Exynos Watchdog Timer
 exyowdt0       at fdt?                         # watchdog



Home | Main Index | Thread Index | Old Index