On 10/13/11 11:44 AM, Christoph Grenz wrote:
=================================================================== --- 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;
+}
It would be better to read out the GPIO base and use offsets to that instead of hard coding the IO address.