]> git.sur5r.net Git - u-boot/commit
sata: use block layer for sata command
authorEric Nelson <eric@nelint.com>
Sun, 27 Mar 2016 19:00:15 +0000 (12:00 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:18:28 +0000 (17:18 -0400)
commit96baf368a88bc6f2bce93177c0e996b7354c289f
tree23be58a06b82980622f1656b14ca7be134094258
parentbcfde7ffb0beff80dc9e2f689099b813f5f0e052
sata: use block layer for sata command

Call blk_dread, blk_dwrite, blk_derase to ensure that the block cache is
used if enabled and to remove build breakage when CONFIG_BLK is enabled.

Signed-off-by: Eric Nelson <eric@nelint.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/sata.c