Fix typo in BPI specific setup, spotted by Jared.

Now awge works with the official sunxi-linux u-boot versions as well.
This commit is contained in:
martin 2015-01-04 15:59:32 +00:00
parent 1fc6984b37
commit ad080d19b4

View File

@ -1,4 +1,4 @@
/* $NetBSD: awin_machdep.c,v 1.37 2015/01/02 11:46:53 martin Exp $ */
/* $NetBSD: awin_machdep.c,v 1.38 2015/01/04 15:59:32 martin 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.37 2015/01/02 11:46:53 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.38 2015/01/04 15:59:32 martin Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@ -814,7 +814,7 @@ awin_device_register(device_t self, void *aux)
prop_dictionary_set_cstring(dict, "phy-type", "mii");
}
#endif
#if AWIN_BOARD == AWIN_bpi
#if AWIN_board == AWIN_bpi
prop_dictionary_set_cstring(dict, "phy-power", "gmacpwren");
prop_dictionary_set_cstring(dict, "phy-type", "rgmii-bpi");
prop_dictionary_set_uint8(dict, "pinset-func", 3);