mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-17 12:37:02 +00:00
fixes board detection, signed off by Ithamar R. Adema
SVN-Revision: 20271
This commit is contained in:
parent
4fcee4628c
commit
5abcf30366
@ -337,9 +337,10 @@ struct ifxmips_board *ifxmips_find_board(void)
|
|||||||
|
|
||||||
int __init ifxmips_init_devices(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);
|
chiprev = (ifxmips_r32(IFXMIPS_MPS_CHIPID) & 0x0FFFFFFF);
|
||||||
|
board = ifxmips_find_board();
|
||||||
ifxmips_brn = ifxmips_find_brn_block();
|
ifxmips_brn = ifxmips_find_brn_block();
|
||||||
|
|
||||||
if (!cmdline_mac)
|
if (!cmdline_mac)
|
||||||
|
Loading…
Reference in New Issue
Block a user