<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 10/13/11 11:44 AM, Christoph Grenz wrote:<br>
<blockquote
cite="mid:201110132044.17877.christophg+cb@grenz-bonn.de"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre wrap="">===================================================================
--- board_enable.c (Revision 1450)
+++ board_enable.c (Arbeitskopie)
@@ -1830,6 +1830,22 @@
/*
* Suited for:
+ * - abit AV8: Socket939 + K8T800Pro + VT8237
+ */
+static int board_abit_av8(void)
+{
+ uint8_t val;
+
+ /* Raise GPO ports GP22 & GP23 */
+ val = INB(0x404E);
+ val |= 0xC0;
+ OUTB(val, 0x404E);
+
+ return 0;
+}
+</pre>
</div>
</blockquote>
It would be better to read out the GPIO base and use offsets to that
instead of hard coding the IO address.<br>
<br>
</body>
</html>