Re: [PATCH RESEND] am33xx: cpsw: default to ethernet hwaddr from efuse if not defined in dt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Peter" == Peter Korsgaard <jacmet@xxxxxxxxxx> writes:

 Peter> When booting with CONFIG_ARM_APPENDED_DTB (either because of using an old
 Peter> U-Boot, not wanting the hassle of 2 files or when using Falcon fast boot
 Peter> mode in U-Boot), nothing updates the ethernet hwaddr specified for the
 Peter> CPSW slaves, causing the driver to use a random hwaddr, which is some times
 Peter> troublesome.

 Peter> The am33xx has unique ethernet hwaddrs programmed in the efuse, so it makes
 Peter> more sense to default to these rather than random ones. Add a fixup step
 Peter> which adds mac-address dt properties using the efuse addresses if the DTB
 Peter> didn't contain valid ones.

 Peter> Signed-off-by: Peter Korsgaard <jacmet@xxxxxxxxxx>
 Peter> Acked-by: Mugunthan V N <mugunthanvnm@xxxxxx>
 Peter> Tested-by: Mark Jackson <mpfj-list@xxxxxxxxxxxxx>
 Peter> Tested-by: Koen Kooi <koen@xxxxxxxxxxxxxxxxxxxxx>
 Peter> Tested-by: Matt Porter <matt.porter@xxxxxxxxxx>
 Peter> ---
 Peter> Resent without changes.

Argh, this was supposed to have been a resend of v2. Will resend that
one instead.

-- 
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux