mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-23 04:25:21 +00:00
sd_card & imx53: flush ADMA2 writes via DSB
We have to issue a data synchronization barrier after writing a ADMA2 table to ensure that the corresponding write commands were actually executed before issuing the SD command. Ref #1497
This commit is contained in:
parent
bd7fe4160d
commit
48e7d29686
@ -112,6 +112,8 @@ namespace Adma2
|
||||
_base_virt[index] = desc;
|
||||
consumed += curr;
|
||||
}
|
||||
/* ensure that all descriptor writes were actually executed */
|
||||
asm volatile ("dsb");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user