mzk-w04nu: fetch MAC address from the flash

SVN-Revision: 14383
This commit is contained in:
Gabor Juhos 2009-02-03 07:53:46 +00:00
parent 03de003183
commit 9e624a7144

View file

@ -137,6 +137,10 @@ static struct gpio_button mzk_w04nu_gpio_buttons[] __initdata = {
static void __init mzk_w04nu_setup(void)
{
u8 *mac = (u8 *) KSEG1ADDR(0x1fff1000);
ar71xx_set_mac_base(mac);
ar71xx_add_device_mdio(0x0);
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;