]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ls102xa: etsec: Add etsec support for LS102xA
authorAlison Wang <b18965@freescale.com>
Fri, 5 Sep 2014 05:52:38 +0000 (13:52 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 8 Sep 2014 17:30:33 +0000 (10:30 -0700)
commit52d00a812a29974e660f64a8839ddb550dca5290
tree396d90c9244e58992aa55f3b86450b11958b677a
parentd2614ea0ffda9d7c0d049f0fa5b23ce390bcb7a8
ls102xa: etsec: Add etsec support for LS102xA

This patch is to add etsec support for LS102xA. First, Little-endian
descriptor mode should be enabled. So RxBDs and TxBDs are interpreted
with little-endian byte ordering. Second, TSEC_SIZE and TSEC_MDIO_OFFSET
are different from PowerPC, redefine them for LS1021xA.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
drivers/net/tsec.c
include/tsec.h