From mboxrd@z Thu Jan 1 00:00:00 1970 From: jason@lakedaemon.net (Jason Cooper) Date: Wed, 30 Jan 2013 19:40:42 -0500 Subject: [PATCH v2 1/2] ARM: kirkwood: Ensure that kirkwood_ge0[01]_init() finds its clock In-Reply-To: <20130130231552.GA7915@obsidianresearch.com> References: <20130128223148.GA10275@schnuecks.de> <20130129004824.GB7717@titan.lakedaemon.net> <20130129194243.GA30831@schnuecks.de> <51082C4E.5050903@gmail.com> <20130130000341.GA10600@schnuecks.de> <51086E86.8040705@gmail.com> <20130130083044.GA25688@schnuecks.de> <5108F300.7000705@gmail.com> <20130130230100.GV7717@titan.lakedaemon.net> <20130130231552.GA7915@obsidianresearch.com> Message-ID: <20130131004042.GY7717@titan.lakedaemon.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jan 30, 2013 at 04:15:52PM -0700, Jason Gunthorpe wrote: > On Wed, Jan 30, 2013 at 06:01:00PM -0500, Jason Cooper wrote: > > > Once we add proper DT support to mv643xx_eth, the local-mac-address will > > need to be defined in the dtb. We should probably poke the other Jason > > to see if there is a cooresponding u-boot patch to his local-mac-address > > patch. > > Sorry I don't have a u-boot fix, we don't use u-boot here - but > local-mac-address is common on other ARM drivers so I'd hope there is > a u-boot facility for stuffing it already? a quick search of the u-boot source reveals common/fdt_support.c:477: do_fixup_by_path(fdt, path, "local-mac-address", &mac_addr, 6, 1); which is indeed called from bootm if u-boot is compiled with OF_LIBFDT. I'll test this when I work on the mv643xx_eth DT binding series. thx, Jason.