ARM: mxs: m28evk: Disable OCOTP OUI loading
authorMarek Vasut <marex@denx.de>
Tue, 18 Sep 2012 22:37:17 +0000 (00:37 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 19 Sep 2012 14:00:37 +0000 (22:00 +0800)
Don't load the FEC MAC address from OCOTP, but use the one supplied
via device tree by U-Boot. This is the preferred way, every DT-capable
bootloader does set up "mac-address" and "local-mac-address" properties
into the DT passed to the kernel.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/mach-mxs.c

index 5cbb637..433af89 100644 (file)
@@ -288,8 +288,6 @@ static void __init imx28_evk_post_init(void)
 
 static void __init m28evk_init(void)
 {
-       update_fec_mac_prop(OUI_DENX);
-
        mxsfb_pdata.mode_list = m28evk_video_modes;
        mxsfb_pdata.mode_count = ARRAY_SIZE(m28evk_video_modes);
        mxsfb_pdata.default_bpp = 16;