1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 06:45:31 +02:00

[ifxmips] fixes board detection, signed off by Ithamar R. Adema

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20271 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2010-03-18 13:53:22 +00:00
parent 1904ac0988
commit 2b070b217a

View File

@ -337,9 +337,10 @@ struct ifxmips_board *ifxmips_find_board(void)
int __init ifxmips_init_devices(void)
{
struct ifxmips_board *board = ifxmips_find_board();
struct ifxmips_board *board;
chiprev = (ifxmips_r32(IFXMIPS_MPS_CHIPID) & 0x0FFFFFFF);
board = ifxmips_find_board();
ifxmips_brn = ifxmips_find_brn_block();
if (!cmdline_mac)