u-boot-brain/drivers
Alexey Brodkin ed102be70f net: designware: Fix alignment of buffer descriptors
It's important that buffer descriptors are aligned in accordance to GMAC
data bus width (32/64/128-bit). It's safe to align to 128-bit (16-bytes)
for every bus width type.

If buffer descriptor is improperly aligned GMAC discards lower bits of
provided address and as a result reads from improper location that
doesn't match expected fields.

Commit ef76025a99 "net: Multiple
updates/enhancements to designware.c" introduced another structure
member "link_printed" right before buffer descriptors while "padding"
member was left untouched. This together with alignment of structure
itself to 16-byte boundary forces buffer descriptoprs always to be
4-byte aligned that causes driver complete disfunction if GMAC bus width
is 64 or 128-bit.

Proposed change makes sure all buffer descriptors are 16-byte (128-bit)
aligned.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Patch: 277902
2013-11-22 16:50:55 -06:00
..
bios_emulator Makefile: make directories by Makefile.build 2013-11-17 14:11:31 -05:00
block drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
bootcount Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
crypto drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
dfu usb: dfu: make nand upload working 2013-11-08 20:46:20 +01:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga drivers: descend into sub directories only when it is necessary 2013-11-17 14:11:30 -05:00
gpio Add support for SX151x SPI GPIO Expanders 2013-11-08 09:39:13 -05:00
hwmon cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
i2c designware_i2c: remove 10msec delay in i2c_xfer_finish 2013-11-13 06:22:41 +01:00
input drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
misc drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
mmc drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
mtd Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
net net: designware: Fix alignment of buffer descriptors 2013-11-22 16:50:55 -06:00
pci malta: support for coreFPGA6 boards 2013-11-09 17:21:01 +01:00
pcmcia drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
power drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
qe drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00
rtc Merge branch 'master' of git://git.denx.de/u-boot-mips 2013-11-11 09:40:34 -05:00
serial serial: s5p: Staticize local functions 2013-11-08 15:25:14 -05:00
sound drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
spi spi: omap3: add support for more word lengths 2013-11-12 10:02:44 +01:00
tpm drivers: tpm: clean up unused code 2013-11-17 14:11:30 -05:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
video lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01:00
watchdog Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
Makefile drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00