]> git.sur5r.net Git - u-boot/commit
macb: Introduce a few barriers when dealing with DMA descriptors
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 2 May 2007 11:22:38 +0000 (13:22 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 3 May 2007 08:00:03 +0000 (10:00 +0200)
commit04fcb5d38bc90779cd9a710d60702075986f0e29
treeaa2d1367248f7ed77d4a1e2c1fc1a7bca96d831c
parent37837828d89084879bee2f2b8c7c68d4695940df
macb: Introduce a few barriers when dealing with DMA descriptors

There were a few theoretical possibilities that the compiler might
optimize away DMA descriptor reads and/or writes and thus cause
synchronization problems with the hardware. Insert barriers where
we depend on reads/writes actually hitting memory.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
drivers/macb.c