]> git.dujemihanovic.xyz Git - u-boot.git/commit
ls102xa: etsec: Use proper settings for BE BDs
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Wed, 12 Aug 2015 10:29:14 +0000 (13:29 +0300)
committerYork Sun <yorksun@freescale.com>
Wed, 2 Sep 2015 02:39:03 +0000 (21:39 -0500)
commitebe4c1e6469444753bd2ba93fe63e6183cf2905c
treecec6f84bbbdf284f6abceb121663b07b2f4b2a61
parentda2919b4a904411c374a6e0d9dc771e180968266
ls102xa: etsec: Use proper settings for BE BDs

Replace the DMACTRL[LE] hack with recommended settings
for ETSECDMAMCR to get the same end effect - obtaining
big-endian buffer descriptors and frame data for eTSEC.
The reset / default value for ETSECDMAMCR is preserved,
excepting the BD and FR bits which are cleared to enable
the BE mode in accordance with the H/W specifications.

Fixes: 52d00a8 "ls102xa: etsec: Add etsec support for LS102xA"
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Acked-by: Alison Wang <alison.wang@freescale.com>
Tested-by: Alison Wang <alison.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h
board/freescale/ls1021aqds/ls1021aqds.c
board/freescale/ls1021atwr/ls1021atwr.c
drivers/net/tsec.c