9
0
Fork 0

ARM i.MX51 babbage: set fec ethernet address from IIM

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-07-28 11:41:05 +02:00
parent 2fd4fa2e99
commit e7b995d874
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,6 @@
*/
#include <common.h>
#include <net.h>
#include <init.h>
#include <environment.h>
#include <mach/imx-regs.h>
@ -40,6 +39,7 @@
#include <mach/generic.h>
#include <mach/iomux-mx51.h>
#include <mach/devices-imx51.h>
#include <mach/iim.h>
static struct fec_platform_data fec_info = {
.xcv_type = MII100,
@ -228,11 +228,14 @@ static void babbage_power_init(void)
static int f3s_devices_init(void)
{
struct device_d *sdram_dev;
babbage_mmu_init();
sdram_dev = add_mem_device("ram0", 0x90000000, 512 * 1024 * 1024,
IORESOURCE_MEM_WRITEABLE);
armlinux_add_dram(sdram_dev);
imx51_iim_register_fec_ethaddr();
imx51_add_fec(&fec_info);
imx51_add_mmc0(NULL);