diff options
author | 2015-07-17 17:33:50 +0000 | |
---|---|---|
committer | 2015-07-17 17:33:50 +0000 | |
commit | f8a488ba5925359382f8cd8520540b384a9a3478 (patch) | |
tree | e355511ffa71fcd4db432629ee3edc54dc437947 | |
parent | Remove #if 0'ed code and update comment. (diff) | |
download | wireguard-openbsd-f8a488ba5925359382f8cd8520540b384a9a3478.tar.xz wireguard-openbsd-f8a488ba5925359382f8cd8520540b384a9a3478.zip |
add exdisplay to chromebook_devs
tested by and ok bmercer@
-rw-r--r-- | sys/arch/armv7/exynos/exynos.c | 3 | ||||
-rw-r--r-- | sys/arch/armv7/exynos/exynos5.c | 10 |
2 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/armv7/exynos/exynos.c b/sys/arch/armv7/exynos/exynos.c index 5e62c482038..5085746c2e1 100644 --- a/sys/arch/armv7/exynos/exynos.c +++ b/sys/arch/armv7/exynos/exynos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exynos.c,v 1.7 2015/06/07 16:54:16 jsg Exp $ */ +/* $OpenBSD: exynos.c,v 1.8 2015/07/17 17:33:50 jsg Exp $ */ /* * Copyright (c) 2005,2008 Dale Rahn <drahn@openbsd.com> * Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se> @@ -58,6 +58,7 @@ struct board_dev chromebook_devs[] = { { "exiic", 4 }, // { "exesdhc", 2 }, // { "exesdhc", 3 }, + { "exdisplay", 0 }, { NULL, 0 } }; diff --git a/sys/arch/armv7/exynos/exynos5.c b/sys/arch/armv7/exynos/exynos5.c index f0d39ea71ad..a02fcf2c287 100644 --- a/sys/arch/armv7/exynos/exynos5.c +++ b/sys/arch/armv7/exynos/exynos5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exynos5.c,v 1.3 2015/07/15 21:09:40 jsg Exp $ */ +/* $OpenBSD: exynos5.c,v 1.4 2015/07/17 17:33:50 jsg Exp $ */ /* * Copyright (c) 2011 Uwe Stuehler <uwe@openbsd.org> * Copyright (c) 2012 Patrick Wildt <patrick@blueri.se> @@ -117,6 +117,9 @@ #define PCIE_IRQ2 122 #define PCIE_IRQ3 123 +#define EXDISPLAY_ADDR 0xbfc00000 +#define EXDISPLAY_SIZE 0x202000 + struct armv7_dev exynos5_devs[] = { /* @@ -316,6 +319,11 @@ struct armv7_dev exynos5_devs[] = { .irq = { USB_IRQ } }, + { .name = "exdisplay", + .unit = 0, + .mem = { { EXDISPLAY_ADDR, EXDISPLAY_SIZE } }, + }, + /* Terminator */ { .name = NULL, .unit = 0 |