summaryrefslogtreecommitdiffstats
path: root/board/bf518f-ezbrd/bf518f-ezbrd.c
Commit message (Collapse)AuthorAgeFilesLines
* net: Remove all calls to net_random_ethaddr()Joe Hershberger2015-05-201-21/+7
| | | | | | | | | | | | | Remove the calls to net_random_ethaddr() that some boards and some drivers are calling. This is now implemented inside of net/eth.c Enable the feature for all boards that previously enabled it. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-By: Michael Walle <michael@walle.cc> (for the lsxl board part) Series-changes: 2 -Fixed bfin build errors
* net: cosmetic: Name ethaddr variables consistentlyJoe Hershberger2015-04-181-2/+2
| | | | | | | | Use "_ethaddr" at the end of variables and drop CamelCase. Make constant values actually 'const'. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
* blackfin: replace bfin_gen_rand_mac() with eth_random_addr()Masahiro Yamada2014-05-121-2/+1
| | | | | | | | | | | bfin_gen_rand_mac() uses __DATE__ as the seed for random ethernet address. This makes the build non-deterministic. In the first place, it should not be implemented as a Bfin-specific function. Use eth_random_addr() instead. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Sonic Zhang <sonic.zhang@analog.com>
* Blackfin: bf518f-ezbrd: get MAC from flashMike Frysinger2011-04-081-14/+17
| | | | | | The MAC address is stored in the last flash sector rather than OTP. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bf518f-ezbrd: don't require SPI logic all the timeMike Frysinger2011-04-081-9/+21
| | | | | | | Only the first run of boards had a ksz switch on it, so if building for a newer silicon rev or SPI is disabled, don't bother checking for the ksz. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bf518f-ezbrd: convert to portmux frameworkMike Frysinger2010-07-131-12/+6
| | | | | | | Rather than bang MMRs directly, use the new portmux framework to handle the details. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bf518f-ezbrd: handle different PHYs dynamicallyMike Frysinger2010-07-131-10/+13
| | | | | | | | | The original BF518F-EZBRD's have a Micrel KSZ8893 DSA on them, but newer ones only have a National PHY (which lack a RX Error interrupt line). So in the board eth init code, dynamically detect what is hooked up to the MAC and handle each accordingly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: convert bfin_sdh to generic mmcCliff Cai2010-01-171-0/+8
| | | | | Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: kill off useless initdram() usageMike Frysinger2010-01-171-7/+0
| | | | | | | While the initdram() function makes sense on some arches, it doesn't for Blackfin systems as it's always implemented the same way. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bf518f-ezbrd: setup portmux for async flashGraf Yang2009-05-251-0/+16
| | | | | | | | The pins for async memory where parallel flash lives are not enabled by default, so make sure we mux them as needed. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Minor Coding Style fix; update CHANGELOG.Wolfgang Denk2009-05-151-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Blackfin: bf518f-ezbrd: reset ethernet PHY during initGraf Yang2009-05-061-4/+51
| | | | | | | | | | We don't know what state the ethernet PHY is in when starting up, so make sure we set it to a sane state. This fixes troubles seen when Linux boots up, configures the PHY is a non-default state, and then the system reboots into U-Boot which previously expected a reset state only. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bf518f-ezbrd: new board portMike Frysinger2009-04-021-0/+101
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
OpenPOWER on IntegriCloud