Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/awin Olimex A20-OLinuXino-LIME2 support, fro...
details: https://anonhg.NetBSD.org/src/rev/ba779f506c77
branches: trunk
changeset: 338660:ba779f506c77
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed Jun 03 10:01:32 2015 +0000
description:
Olimex A20-OLinuXino-LIME2 support, from Greg Willatt <gpw26%mrao.cam.ac.uk@localhost>
diffstat:
sys/arch/evbarm/awin/awin_machdep.c | 8 ++++----
sys/arch/evbarm/awin/platform.h | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r 598c7ccab51e -r ba779f506c77 sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c Wed Jun 03 10:00:55 2015 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c Wed Jun 03 10:01:32 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_machdep.c,v 1.40 2015/04/20 01:33:22 matt Exp $ */
+/* $NetBSD: awin_machdep.c,v 1.41 2015/06/03 10:01:32 jmcneill Exp $ */
/*
* Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.40 2015/04/20 01:33:22 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.41 2015/06/03 10:01:32 jmcneill Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@@ -660,7 +660,7 @@
} else {
prop_dictionary_set_bool(dict, "no-awge", true);
}
-#elif AWIN_board == AWIN_bpi
+#elif AWIN_board == AWIN_bpi || AWIN_board == AWIN_olimexlime2
prop_dictionary_set_bool(dict, "no-awe", true);
#endif
return;
@@ -725,7 +725,7 @@
prop_dictionary_set_cstring(dict, "emacpwren", ">PH19");
}
#endif
-#if AWIN_board == AWIN_cubieboard || AWIN_board == AWIN_cubietruck
+#if AWIN_board == AWIN_cubieboard || AWIN_board == AWIN_cubietruck || AWIN_board == AWIN_olimexlime2
prop_dictionary_set_cstring(dict, "mmc0detect", "<PH1");
#elif AWIN_board == AWIN_bpi
prop_dictionary_set_cstring(dict, "mmc0detect", "<PH10");
diff -r 598c7ccab51e -r ba779f506c77 sys/arch/evbarm/awin/platform.h
--- a/sys/arch/evbarm/awin/platform.h Wed Jun 03 10:00:55 2015 +0000
+++ b/sys/arch/evbarm/awin/platform.h Wed Jun 03 10:01:32 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: platform.h,v 1.5 2014/12/11 23:35:11 jmcneill Exp $ */
+/* $NetBSD: platform.h,v 1.6 2015/06/03 10:01:32 jmcneill Exp $ */
/*
* Copyright (c) 2007 Microsoft
* All rights reserved.
@@ -36,6 +36,7 @@
#define AWIN_bpi 3
#define AWIN_hummingbird_a31 4
#define AWIN_allwinner_a80 5
+#define AWIN_olimexlime2 6
#include <arm/allwinner/awin_reg.h>
Home |
Main Index |
Thread Index |
Old Index